Compiler projects using llvm
## check_attrs test checking that update_test_checks.py works correctly
# RUN: cp -f %S/Inputs/check_attrs.ll %t.ll && %update_test_checks %t.ll --function-signature
# RUN: diff -u %t.ll %S/Inputs/check_attrs.ll.plain.expected
## Also try the --check-attributes flag
# RUN: %update_test_checks %t.ll --check-attributes --function-signature
# RUN: diff -u %t.ll %S/Inputs/check_attrs.ll.funcattrs.expected
## Check that running the script again does not change the result:
# RUN: %update_test_checks %t.ll
# RUN: diff -u %t.ll %S/Inputs/check_attrs.ll.funcattrs.expected