1## Test that CHECK lines are generated before the definion and not the declaration 2 3# RUN: cp %S/Inputs/def-and-decl.c %t.c && %update_cc_test_checks %t.c 4# RUN: diff -u %S/Inputs/def-and-decl.c.expected %t.c 5## Check that re-running update_cc_test_checks doesn't change the output 6# RUN: %update_cc_test_checks %t.c 7# RUN: diff -u %S/Inputs/def-and-decl.c.expected %t.c 8