2009-12-16 06:01:24 +08:00
|
|
|
// RUN: %clang -verify -pedantic %s -fsyntax-only
|
2011-05-23 07:47:57 +08:00
|
|
|
// RUN: %clang_cc1 -E %s | FileCheck %s
|
2009-06-15 13:02:34 +08:00
|
|
|
// rdar://6899937
|
|
|
|
#include "pragma_sysheader.h"
|
2011-05-23 06:10:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
// PR9861: Verify that line markers are not messed up in -E mode.
|
|
|
|
// CHECK: # 1 "{{.*}}pragma_sysheader.h" 1
|
|
|
|
// CHECK-NEXT: # 1 "{{.*}}pragma_sysheader.h" 3
|
|
|
|
// CHECK-NEXT: typedef int x;
|
|
|
|
// CHECK-NEXT: typedef int x;
|
|
|
|
// CHECK-NEXT: # 5 "{{.*}}pragma_sysheader.c" 2
|