1## Basic test checking that update_cc_test_checks.py works as expected for 2## functions with mangled names 3# RUN: cp -f %S/Inputs/mangled_names.c %t.c && %update_cc_test_checks -v %t.c 4# RUN: diff -u %t.c %S/Inputs/mangled_names.c.expected 5## Check that running the script again does not change the result: 6# RUN: %update_cc_test_checks -v %t.c 7# RUN: diff -u %t.c %S/Inputs/mangled_names.c.expected 8## Also try the --function-signature flag 9# RUN: %update_cc_test_checks %t.c --function-signature 10# RUN: diff -u %t.c %S/Inputs/mangled_names.c.funcsig.expected 11## Verify that running without the --function-signature flag removes the -SAME: lines: 12# RUN: %update_cc_test_checks %t.c 13# RUN: diff -u %t.c %S/Inputs/mangled_names.c.expected 14