xref: /llvm-project/clang/test/CodeGen/overloadable-debug.c (revision 768e3af6345a532d383205049679aaaccca26628)
1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2 
f1(a)3 __attribute__((overloadable)) void f1(a) int a; {
4 }
f2(a)5 void f2(a) int a; {
6 }
7 
8 // CHECK: !DISubprogram(name: "f1", linkageName: "_Z2f1i"
9 // CHECK: !DISubprogram(name: "f2", scope: {{.*}}, spFlags: DISPFlagDefinition,
10