1 // RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only
2 // RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only -DGCC
3 // RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only -DCLANG
4 // RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only -fms-extensions -DMS
7 #include "Inputs/pragma_sysheader.h"
9 // RUN: %clang_cc1 -E %s | FileCheck %s
10 // PR9861: Verify that line markers are not messed up in -E mode.
11 // CHECK: # 1 "{{.*}}pragma_sysheader.h" 1
12 // CHECK-NEXT: # 12 "{{.*}}pragma_sysheader.h"
13 // CHECK: typedef int x;
14 // CHECK: typedef int x;
15 // CHECK-NEXT: # 8 "{{.*}}pragma_sysheader.c" 2