llvm-project/clang/test/utils/update_cc_test_checks/explicit-template-instantia...

8 lines
436 B
Plaintext

## Test that CHECK lines are generated for explicit template instantiatons
# RUN: cp %S/Inputs/explicit-template-instantiation.cpp %t.cpp && %update_cc_test_checks %t.cpp
# RUN: diff -u %S/Inputs/explicit-template-instantiation.cpp.expected %t.cpp
## Check that re-running update_cc_test_checks doesn't change the output
# RUN: %update_cc_test_checks %t.cpp
# RUN: diff -u %S/Inputs/explicit-template-instantiation.cpp.expected %t.cpp