10 lines · plain
1## Test that CHECK lines are generated as expected without --check-attributes2# RUN: cp %S/Inputs/check-attributes.cpp %t.cpp && %update_cc_test_checks %t.cpp3# RUN: diff -u %S/Inputs/check-attributes.cpp.plain.expected %t.cpp4## Test with --check-attributes flag.5# RUN: cp %S/Inputs/check-attributes.cpp %t.cpp && %update_cc_test_checks %t.cpp --check-attributes6# RUN: diff -u %S/Inputs/check-attributes.cpp.funcattrs.expected %t.cpp7## Check that re-running update_cc_test_checks doesn't change the output8# RUN: %update_cc_test_checks %t.cpp9# RUN: diff -u %S/Inputs/check-attributes.cpp.funcattrs.expected %t.cpp10