xref: /llvm-project/clang/test/utils/update_cc_test_checks/Inputs/mangled_names.c (revision 57c81917d3a596f925f1c072ad04425b66bbd80e)
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 
test(long a,int b)4 long test(long a, int b) {
5   return a + b;
6 }
7 
8 // A function with a mangled name
test(long a,int b,int c)9 __attribute__((overloadable)) long test(long a, int b, int c) {
10   return a + b + c;
11 }
12