aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/pr4489.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/pr4489.c')
-rw-r--r--test/PCH/pr4489.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/PCH/pr4489.c b/test/PCH/pr4489.c
index 7730819e9213..d05d5cd7ddab 100644
--- a/test/PCH/pr4489.c
+++ b/test/PCH/pr4489.c
@@ -1,5 +1,6 @@
// RUN: clang -x c-header -o %t.pch %s &&
-// RUN: clang -include %t -x c /dev/null -emit-llvm -S -o -
+// RUN: echo > %t.empty.c &&
+// RUN: clang -include %t -x c %t.empty.c -emit-llvm -S -o -
// PR 4489: Crash with PCH
// PR 4492: Crash with PCH (round two)
// PR 4509: Crash with PCH (round three)
@@ -37,4 +38,4 @@ void y1(void)
{
extern char e;
fprintf (0, "asdf");
-} \ No newline at end of file
+}