This reverts commit d618f1c3b1.
This commit wasn't reviewed ahead of time and significant concerns were
raised immediately after it landed. According to our developer policy
this warrants immediate revert of the commit.
https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy
Differential Revision: https://reviews.llvm.org/D155509
16 lines
710 B
C
16 lines
710 B
C
// RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only
|
|
// RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only -DGCC
|
|
// RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only -DCLANG
|
|
// RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only -fms-extensions -DMS
|
|
|
|
// rdar://6899937
|
|
#include "Inputs/pragma_sysheader.h"
|
|
|
|
// RUN: %clang_cc1 -E %s | FileCheck %s
|
|
// PR9861: Verify that line markers are not messed up in -E mode.
|
|
// CHECK: # 1 "{{.*}}pragma_sysheader.h" 1
|
|
// CHECK-NEXT: # 12 "{{.*}}pragma_sysheader.h"
|
|
// CHECK: typedef int x;
|
|
// CHECK: typedef int x;
|
|
// CHECK-NEXT: # 8 "{{.*}}pragma_sysheader.c" 2
|