[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / CoverageMapping / comment-in-macro.c
blob1afde46f1e4a56038012852003d7d6994a5cadbf
1 // RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only %s | FileCheck %s
3 #define x1 "" // ...
4 #define x2 return 0
5 // CHECK: main
6 int main(void) { // CHECK-NEXT: File 0, [[@LINE]]:16 -> [[@LINE+3]]:2 = #0
7 x1; // CHECK-NEXT: Expansion,File 0, [[@LINE]]:3 -> [[@LINE]]:5 = #0
8 x2; // CHECK-NEXT: Expansion,File 0, [[@LINE]]:3 -> [[@LINE]]:5 = #0
10 // CHECK-NEXT: File 1, 3:12 -> 3:14 = #0
11 // CHECK-NEXT: File 2, 4:12 -> 4:20 = #0