blob: 96ee30357a843488a936cc511c548ca9e1823536 [file] [log] [blame]
Justin Bogner203f0922015-07-28 00:41:51 +00001// Ensure that declarations without definitions don't have maps emitted for them
2
3// RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only %s > %t
4// FileCheck -input-file %t %s
5// RUN: FileCheck -check-prefix BAR -input-file %t %s
6
7// FOO: foo:
8// FOO-NOT: foo:
9inline int foo() { return 0; }
10extern inline int foo();
11
12// BAR: bar:
13// BAR-NOT: bar:
14int bar() { return 0; }
15extern int bar();