clang/test/utils/update_cc_test_checks/Inputs/mangled_names.c
raw| 1 | // Example input for update_cc_test_checks |
| 2 | // RUN: %clang_cc1 -triple=x86_64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s |
| 3 | |
| 4 | long test(long a, int b) { |
| 5 | return a + b; |
| 6 | } |
| 7 | |
| 8 | // A function with a mangled name |
| 9 | __attribute__((overloadable)) long test(long a, int b, int c) { |
| 10 | return a + b + c; |
| 11 | } |