summaryrefslogtreecommitdiff
path: root/test/PCH/modified-header-crash.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/modified-header-crash.c')
-rw-r--r--test/PCH/modified-header-crash.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/PCH/modified-header-crash.c b/test/PCH/modified-header-crash.c
index c74ce2239c22..4c21a8c2b825 100644
--- a/test/PCH/modified-header-crash.c
+++ b/test/PCH/modified-header-crash.c
@@ -2,9 +2,12 @@
// RUN: cp %S/modified-header-crash.h %t.h
// RUN: %clang_cc1 -DCAKE -x c-header %t.h -emit-pch -o %t
-// RUN: echo >> %t.h
+// RUN: echo 'int foobar;' >> %t.h
// RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only
+// FIXME: It is intended to suppress this on win32.
+// REQUIRES: ansi-escape-sequences
+
void f(void) {
foo = 3;
}