Files
clang-p2996/llvm/test/tools/UpdateTestChecks/update_test_checks/function-name.test
David Greene ce0eb81c72 [UpdateTestChecks] Allow $ in function names
Some compilers generation functions with '$' in their names, so recognize those
functions.

This also requires recognizing function names inside quotes in some contexts in
order to escape certain characters.

Differential Revision: https://reviews.llvm.org/D82995
2020-09-16 14:34:18 -05:00

8 lines
389 B
Plaintext

# REQUIRES: x86-registered-target
## Basic test checking that update_test_checks.py works correctly
# RUN: cp -f %S/Inputs/function_name.ll %t.ll && %update_test_checks %t.ll
# RUN: diff -u %t.ll %S/Inputs/function_name.ll.expected
## Check that running the script again does not change the result:
# RUN: %update_test_checks %t.ll
# RUN: diff -u %t.ll %S/Inputs/function_name.ll.expected