blob: 4b23324afaff3dbc5a193fd803158838514e6f27 [file] [log] [blame]
Hans Wennborgc9bd88e2014-01-14 19:35:09 +00001// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - -test-coverage -femit-coverage-notes | FileCheck %s
Nick Lewyckyc02bbb62013-03-20 01:38:16 +00002
3extern "C" void test_name1() {}
4void test_name2() {}
5
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +00006// CHECK: !DISubprogram(name: "test_name1",
Duncan P. N. Exon Smithf04be1f2015-03-03 17:25:55 +00007// CHECK-NOT: linkageName:
8// CHECK-SAME: ){{$}}
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +00009// CHECK: !DISubprogram(name: "test_name2", linkageName: "_Z10test_name2v"