summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/macro_paste_mscomment.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/macro_paste_mscomment.c')
-rw-r--r--test/Preprocessor/macro_paste_mscomment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Preprocessor/macro_paste_mscomment.c b/test/Preprocessor/macro_paste_mscomment.c
index b0fc571..d6ead91 100644
--- a/test/Preprocessor/macro_paste_mscomment.c
+++ b/test/Preprocessor/macro_paste_mscomment.c
@@ -1,5 +1,5 @@
-// RUN: clang-cc -P -E -fms-extensions %s | sed '/^#.\+/d' | tr -d '\n' |
-// RUN: grep '^int foo;int bar;int baz;$' | count 1
+// RUN: clang-cc -P -E -fms-extensions %s | sed '/^#.\+/d' | tr -d '\n' > %t &&
+// RUN: grep '^int foo;int bar;int baz;$' %t | count 1
// This horrible stuff should preprocess into (other than whitespace):
// int foo;
// int bar;
OpenPOWER on IntegriCloud