summaryrefslogtreecommitdiff
path: root/test/FixIt/fixit.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit.c')
-rw-r--r--test/FixIt/fixit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/FixIt/fixit.c b/test/FixIt/fixit.c
index 6443fe53c2a1..a46558c7fb0b 100644
--- a/test/FixIt/fixit.c
+++ b/test/FixIt/fixit.c
@@ -1,9 +1,8 @@
// RUN: %clang_cc1 -pedantic -Wunused-label -verify -x c %s
// RUN: cp %s %t
// RUN: not %clang_cc1 -pedantic -Wunused-label -fixit -x c %t
-// RUN: grep -v CHECK %t > %t2
// RUN: %clang_cc1 -pedantic -Wunused-label -Werror -x c %t
-// RUN: FileCheck -input-file=%t2 %t
+// RUN: grep -v CHECK %t | FileCheck %t
/* This is a test of the various code modification hints that are
provided as part of warning or extension diagnostics. All of the