summaryrefslogtreecommitdiffstats
path: root/clang/test/Format/incomplete.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Format/incomplete.cpp')
-rw-r--r--clang/test/Format/incomplete.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/Format/incomplete.cpp b/clang/test/Format/incomplete.cpp
index bd2c74ca3c1..8a65fad657c 100644
--- a/clang/test/Format/incomplete.cpp
+++ b/clang/test/Format/incomplete.cpp
@@ -1,6 +1,5 @@
-// RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp
-// RUN: clang-format -style=LLVM %t2.cpp -cursor=0 > %t.cpp
-// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
+// RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=0 \
+// RUN: | FileCheck -strict-whitespace %s
// CHECK: {{"IncompleteFormat": true}}
// CHECK: {{^int\ \i;$}}
int i;
OpenPOWER on IntegriCloud