summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-outputs.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/cl-outputs.c')
-rw-r--r--clang/test/Driver/cl-outputs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-outputs.c b/clang/test/Driver/cl-outputs.c
index befff29527c..4a8fc5ca491 100644
--- a/clang/test/Driver/cl-outputs.c
+++ b/clang/test/Driver/cl-outputs.c
@@ -4,6 +4,9 @@
// Note: %s must be preceded by --, otherwise it may be interpreted as a
// command-line option, e.g. on Mac where %s is commonly under /Users.
+// RUN: %clang_cl /c -### -- %s 2>&1 | FileCheck -check-prefix=DEFAULT %s
+// DEFAULT: "-o" "cl-outputs.obj"
+
// RUN: %clang_cl /Foa -### -- %s 2>&1 | FileCheck -check-prefix=FoNAME %s
// FoNAME: "-o" "a.obj"
OpenPOWER on IntegriCloud