1 // RUN: %clang_cc1 -E %s 2>&1 | FileCheck %s -strict-whitespace
2 // RUN: %clang_cc1 -E -fminimize-whitespace %s 2>&1 | FileCheck %s -strict-whitespace
5 // CHECK: # 1 "{{.*}}line-directive-output.c"
7 // Check that we do not emit an enter marker for the main file.
8 // CHECK-NOT: # 1 "{{.*}}line-directive-output.c" 1
12 // CHECK-NEXT: # 50 "{{.*}}line-directive-output.c"
17 // CHECK: # 13 "{{.*}}line-directive-output.c"
23 // CHECK-NEXT: # 1 "A.c"
25 // CHECK-NEXT: # 2 "A.c"
28 // CHECK-NEXT: # 1 "B.c"
31 // CHECK-NEXT: # 1000 "A.c"
42 // CHECK: # 1010 "A.c"
68 // CHECK: # 50 "C.c" 1
72 // CHECK-NEXT: # 2000 "A.c" 2
78 // CHECK: # 50 "a\n.c"
84 // CHECK: # 1 "system.h" 3
85 // CHECK-NEXT: # 2 "system.h" 3
86 // CHECK-NEXT: void sys_foo(void);