[InstCombine] Signed saturation tests. NFC
[llvm-core.git] / test / tools / llvm-cov / ifdef.c
blob87cb6eb299d7c44ac7d6d4aa92c04afc792cb5f3
1 // RUN: llvm-cov show -instr-profile %S/Inputs/ifdef.profdata %S/Inputs/ifdef.covmapping -dump -path-equivalence=/tmp,%S %s > %t.out 2> %t.err.out
2 // RUN: FileCheck %s -input-file %t.out -check-prefix=LINE
3 // RUN: FileCheck %s -input-file %t.err.out -check-prefix=HIGHLIGHT
6 int main() {
7 if (0) { // LINE: [[@LINE]]|{{ +}}1|
8 #if 0 // LINE-NEXT: [[@LINE]]|{{ +}}|
9 #endif // LINE-NEXT: [[@LINE]]|{{ +}}|
11 return 0;
14 // HIGHLIGHT: Highlighted line [[@LINE-7]], 10 -> ?
15 // HIGHLIGHT-NEXT: Highlighted line [[@LINE-7]], 1 -> 1
16 // HIGHLIGHT-NEXT: Highlighted line [[@LINE-6]], 1 -> 4