9 lines · plain
1## Test that CHECK lines generated avoid naming conflicts with FileCheck IR variables2 3# RUN: cp %S/Inputs/resolve-tmp-conflict.cpp %t.cpp && %update_cc_test_checks --function-signature --prefix-filecheck-ir-name _ %t.cpp4# RUN: diff -u %S/Inputs/resolve-tmp-conflict.cpp.expected %t.cpp5 6## Check that re-running update_cc_test_checks doesn't change the output7# RUN: %update_cc_test_checks %t.cpp8# RUN: diff -u %S/Inputs/resolve-tmp-conflict.cpp.expected %t.cpp9