1 ## Basic test checking that we capture existing lines matching global variable names
2 # RUN: cp -f %S/Inputs/global_preserve_name.ll %t.ll && %update_test_checks %t.ll --check-globals --preserve-names
3 # RUN: diff -u %t.ll %S/Inputs/global_preserve_name.ll.expected
4 ## Verify that running without the --global-value-regex flag respects UTC_ARGS, and that the output is a fixed point.
5 # RUN: %update_test_checks %t.ll
6 # RUN: diff -u %t.ll %S/Inputs/global_preserve_name.ll.expected