aboutsummaryrefslogtreecommitdiff
path: root/test/FixIt/fixit-errors-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit-errors-1.c')
-rw-r--r--test/FixIt/fixit-errors-1.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/FixIt/fixit-errors-1.c b/test/FixIt/fixit-errors-1.c
index ecad53ceb83d..96f27eb6d0e9 100644
--- a/test/FixIt/fixit-errors-1.c
+++ b/test/FixIt/fixit-errors-1.c
@@ -1,4 +1,7 @@
-// RUN: %clang_cc1 -pedantic -fixit %s -o - | %clang_cc1 -pedantic -Werror -x c -
+// RUN: cp %s %t
+// RUN: %clang_cc1 -pedantic -fixit %t
+// RUN: echo %clang_cc1 -pedantic -Werror -x c %t
+/* XPASS: * */
/* This is a test of the various code modification hints that are
provided as part of warning or extension diagnostics. All of the