diff options
Diffstat (limited to 'test/Driver/cl-zc.cpp')
| -rw-r--r-- | test/Driver/cl-zc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/cl-zc.cpp b/test/Driver/cl-zc.cpp index 26496293201e..4414eb6ebba2 100644 --- a/test/Driver/cl-zc.cpp +++ b/test/Driver/cl-zc.cpp @@ -53,6 +53,11 @@ // RUN: %clang_cl /c -### /Zc:inline- -- %s 2>&1 | FileCheck -check-prefix=INLINE-OFF %s // INLINE-OFF: argument unused during compilation +// RUN: %clang_cl /c -### /Zc:ternary -- %s 2>&1 | FileCheck -check-prefix=TERNARY-ON %s +// TERNARY-ON-NOT: argument unused during compilation +// RUN: %clang_cl /c -### /Zc:ternary- -- %s 2>&1 | FileCheck -check-prefix=TERNARY-OFF %s +// TERNARY-OFF: argument unused during compilation + // These never warn, but don't have an effect yet. |
