| // RUN: %clang_cc1 -E %s 2>&1 | FileCheck %s -strict-whitespace |
| // RUN: %clang_cc1 -E -fminimize-whitespace %s 2>&1 | FileCheck %s -strict-whitespace |
| // CHECK: # 1 "{{.*}}line-directive-output.c" |
| // Check that we do not emit an enter marker for the main file. |
| // CHECK-NOT: # 1 "{{.*}}line-directive-output.c" 1 |
| // CHECK-NEXT: # 50 "{{.*}}line-directive-output.c" |
| // CHECK: # 13 "{{.*}}line-directive-output.c" |
| // CHECK-NEXT: # 1000 "A.c" |
| // CHECK-NEXT: # 2000 "A.c" 2 |
| // CHECK: # 1 "system.h" 3 |
| // CHECK-NEXT: # 2 "system.h" 3 |
| // CHECK-NEXT: void sys_foo(void); |