aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Misc/caret-diags-macros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Misc/caret-diags-macros.c b/test/Misc/caret-diags-macros.c
index 0a5aa0755e..58d293fb04 100644
--- a/test/Misc/caret-diags-macros.c
+++ b/test/Misc/caret-diags-macros.c
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s >& %t &&
+// RUN: clang-cc -fsyntax-only %s > %t 2>&1 &&
#define M1(x) x