summaryrefslogtreecommitdiffstats
path: root/test/FixIt/typo.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/typo.c')
-rw-r--r--test/FixIt/typo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/FixIt/typo.c b/test/FixIt/typo.c
index 72e3d65..01ff3a0 100644
--- a/test/FixIt/typo.c
+++ b/test/FixIt/typo.c
@@ -1,5 +1,7 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// RUN: %clang_cc1 -fsyntax-only -fixit -o - %s | %clang_cc1 -fsyntax-only -pedantic -Werror -x c -
+// RUN: cp %s %t
+// RUN: %clang_cc1 -fsyntax-only -fixit -x c %t || true
+// RUN: %clang_cc1 -fsyntax-only -pedantic -Werror -x c %t
struct Point {
float x, y;
};
OpenPOWER on IntegriCloud