1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - -test-coverage -femit-coverage-notes | FileCheck %s
2 
3 extern "C" void test_name1() {}
4 void test_name2() {}
5 
6 // CHECK: !DISubprogram(name: "test_name1",
7 // CHECK-NOT:           linkageName:
8 // CHECK-SAME:          ){{$}}
9 // CHECK: !DISubprogram(name: "test_name2", linkageName: "_Z10test_name2v"
10