[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / CoverageMapping / decl.c
blob31f79a2500a3913bde6b64fc7c0dfd8650eb9cec
1 // Ensure that declarations without definitions don't have maps emitted for them
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
7 // FOO: foo:
8 // FOO-NOT: foo:
9 inline int foo(void) { return 0; }
10 extern inline int foo(void);
12 // BAR: bar:
13 // BAR-NOT: bar:
14 int bar(void) { return 0; }
15 extern int bar(void);