brintos

brintos / llvm-project-archived public Read only

0
0
Text · 496 B · 31f79a2 Raw
16 lines · c
1// Ensure that declarations without definitions don't have maps emitted for them2 3// RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only %s > %t4// FileCheck -input-file %t %s5// RUN: FileCheck -check-prefix BAR -input-file %t %s6 7// FOO: foo:8// FOO-NOT: foo:9inline int foo(void) { return 0; }10extern inline int foo(void);11 12// BAR: bar:13// BAR-NOT: bar:14int bar(void) { return 0; }15extern int bar(void);16