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 // expected-no-diagnostics
      4 // rdar://6899937
      5 #include "pragma_sysheader.h"
      6 
      7 
      8 // PR9861: Verify that line markers are not messed up in -E mode.
      9 // CHECK: # 1 "{{.*}}pragma_sysheader.h" 1
     10 // CHECK-NEXT: # 2 "{{.*}}pragma_sysheader.h" 3
     11 // CHECK-NEXT: typedef int x;
     12 // CHECK-NEXT: typedef int x;
     13 // CHECK-NEXT: # 6 "{{.*}}pragma_sysheader.c" 2
     14