diff options
Diffstat (limited to 'test/Driver/cl-outputs.c')
-rw-r--r-- | test/Driver/cl-outputs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Driver/cl-outputs.c b/test/Driver/cl-outputs.c index 2ceaa85471b1..46502f6427d6 100644 --- a/test/Driver/cl-outputs.c +++ b/test/Driver/cl-outputs.c @@ -105,3 +105,15 @@ // FaDIRNAMEEXT: "-o" "foo.dir{{[/\\]+}}a.ext" // RUN: %clang_cl /Faa.asm -### -- %s %s 2>&1 | FileCheck -check-prefix=FaMULTIPLESOURCE %s // FaMULTIPLESOURCE: error: cannot specify '/Faa.asm' when compiling multiple source files + +// RUN: %clang_cl /P -### -- %s 2>&1 | FileCheck -check-prefix=P %s +// P: "-E" +// P: "-o" "cl-outputs.i" + +// RUN: %clang_cl /P /Fifoo -### -- %s 2>&1 | FileCheck -check-prefix=Fi1 %s +// Fi1: "-E" +// Fi1: "-o" "foo.i" + +// RUN: %clang_cl /P /Fifoo.x -### -- %s 2>&1 | FileCheck -check-prefix=Fi2 %s +// Fi2: "-E" +// Fi2: "-o" "foo.x" |