xref: /llvm-project/llvm/test/tools/UpdateTestChecks/update_test_checks/argument_name_reuse.test (revision be26bd55130b6b13c40d0cf0ba97bf5cf3197487)
1# Verify we reuse the argument regexps with --function-signature
2# RUN: cp -f %S/Inputs/argument_name_reuse.ll %t.ll && %update_test_checks %t.ll --function-signature
3# RUN: diff -u %t.ll %S/Inputs/argument_name_reuse.ll.expected
4# Verify we do not reuse the argument regexps, as there are none, without --function-signature
5# RUN: cp -f %S/Inputs/argument_name_reuse.ll %t.ll && %update_test_checks %t.ll
6# RUN: diff -u %t.ll %S/Inputs/argument_name_reuse.ll.plain.expected
7