Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang_cc1 -verify -pedantic %s -fsyntax-only
      2 // RUN: %clang_cc1 -E %s | FileCheck %s
      3 // rdar://6899937
      4 #include "pragma_sysheader.h"
      5 
      6 
      7 // PR9861: Verify that line markers are not messed up in -E mode.
      8 // CHECK: # 1 "{{.*}}pragma_sysheader.h" 1
      9 // CHECK-NEXT: # 1 "{{.*}}pragma_sysheader.h" 3
     10 // CHECK-NEXT: typedef int x;
     11 // CHECK-NEXT: typedef int x;
     12 // CHECK-NEXT: # 5 "{{.*}}pragma_sysheader.c" 2
     13