| 1 |
// Ensure that declarations without definitions don't have maps emitted for them |
| 2 |
|
| 3 |
// RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -fprofile-instrument=clang -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: |
| 9 |
inline int foo(void) { return 0; } |
| 10 |
extern inline int foo(void); |
| 11 |
|
| 12 |
// BAR: bar: |
| 13 |
// BAR-NOT: bar: |
| 14 |
int bar(void) { return 0; } |
| 15 |
extern int bar(void); |