aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/PCH/inconsistent-pch.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/PCH/inconsistent-pch.c b/test/PCH/inconsistent-pch.c
deleted file mode 100644
index 9573118c53..0000000000
--- a/test/PCH/inconsistent-pch.c
+++ /dev/null
@@ -1,15 +0,0 @@
-// Check that we don't crash in an inconsistent situation created by the stat
-// cache.
-
-// RUN: echo 'void f0(float *a0);' > %t.h
-// RUN: clang-cc -emit-pch -o %t.h.pch %t.h
-// RUN: rm %t.h
-// RUN: not clang-cc -include-pch %t.h.pch %s 2> %t.err
-// RUN: FileCheck %s < %t.err
-
-// CHECK: inconsistent-pch.c:{{.*}}:{{.*}}: error: conflicting types for 'f0'
-// CHECK: void f0(int *a0);
-// CHECK: inconsistent-pch.c.tmp.h:{{.*}}:{{.*}}: note: previous declaration is here
-// CHECK: 2 diagnostics generated.
-
-void f0(int *a0);