summaryrefslogtreecommitdiff
path: root/test/FixIt/fixit.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-10 13:44:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-10 13:44:22 +0000
commit1b08b196ac845675036ac78f3ac927d0a37f707c (patch)
tree1fbd923674e903831dc097fdb4fdfd64dd6e47b1 /test/FixIt/fixit.c
parent551c698530debaae81139c7c76a29fb762793362 (diff)
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