clang/test/utils/update_cc_test_checks/resolve-tmp-conflict.test
raw| 1 | ## Test that CHECK lines generated avoid naming conflicts with FileCheck IR variables |
| 2 | |
| 3 | # RUN: cp %S/Inputs/resolve-tmp-conflict.cpp %t.cpp && %update_cc_test_checks --function-signature --prefix-filecheck-ir-name _ %t.cpp |
| 4 | # RUN: diff -u %S/Inputs/resolve-tmp-conflict.cpp.expected %t.cpp |
| 5 | |
| 6 | ## Check that re-running update_cc_test_checks doesn't change the output |
| 7 | # RUN: %update_cc_test_checks %t.cpp |
| 8 | # RUN: diff -u %S/Inputs/resolve-tmp-conflict.cpp.expected %t.cpp |