brintos

brintos / llvm-project-archived public Read only

0
0
Text · 371 B · c91706d Raw
8 lines · plain
1## Test that CHECK lines are generated before the definion and not the declaration2 3# RUN: cp %S/Inputs/def-and-decl.c %t.c && %update_cc_test_checks %t.c4# RUN: diff -u %S/Inputs/def-and-decl.c.expected %t.c5## Check that re-running update_cc_test_checks doesn't change the output6# RUN: %update_cc_test_checks %t.c7# RUN: diff -u %S/Inputs/def-and-decl.c.expected %t.c8