aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/overloadable-debug.c
blob: c742f74f77ba8b0686950a923a6d96bd3daa871a (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s

__attribute__((overloadable)) void f1(a) int a; {
}
void f2(a) int a; {
}

// CHECK: !DISubprogram(name: "f1", linkageName: "_Z2f1i"
// CHECK: !DISubprogram(name: "f2", scope: {{.*}}, spFlags: DISPFlagDefinition,