llvm-project/llvm/test/Reduce/Inputs/remove-funcs.py

10 lines
144 B
Python
Executable File

import sys
input = open(sys.argv[1], "r")
for line in input:
if "@interesting" in line:
sys.exit(0)
sys.exit(1) # IR isn't interesting