1 ## Test that CHECK lines are generated for clang-generated functions
3 # RUN: cp %S/Inputs/generated-funcs.c %t-generated.c && %update_cc_test_checks --include-generated-funcs %t-generated.c
4 # RUN: diff -u %S/Inputs/generated-funcs.c.generated.expected %t-generated.c
5 # RUN: cp %S/Inputs/generated-funcs.c %t-no-generated.c && %update_cc_test_checks %t-no-generated.c
6 # RUN: diff -u %S/Inputs/generated-funcs.c.no-generated.expected %t-no-generated.c
8 ## Check that re-running update_cc_test_checks doesn't change the output
9 # RUN: %update_cc_test_checks --include-generated-funcs %t-generated.c
10 # RUN: diff -u %S/Inputs/generated-funcs.c.generated.expected %t-generated.c
11 # RUN: %update_cc_test_checks %t-no-generated.c
12 # RUN: diff -u %S/Inputs/generated-funcs.c.no-generated.expected %t-no-generated.c