xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/coverage.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - -test-coverage -femit-coverage-notes | FileCheck %s
2f4a2713aSLionel Sambuc 
test_name1()3f4a2713aSLionel Sambuc extern "C" void test_name1() {}
test_name2()4f4a2713aSLionel Sambuc void test_name2() {}
5f4a2713aSLionel Sambuc 
6*0a6a1f1dSLionel Sambuc // CHECK: !"0x2e\00test_name1\00test_name1\00\00{{[^,]+}}", {{.*}} DW_TAG_subprogram
7*0a6a1f1dSLionel Sambuc // CHECK: !"0x2e\00test_name2\00test_name2\00_Z10test_name2v\00{{[^,]+}}", {{.*}} DW_TAG_subprogram
8