summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-options.c
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-03-23 15:37:41 +0000
committerNico Weber <nicolasweber@gmx.de>2016-03-23 15:37:41 +0000
commit9c3fca3698ea9fcbc6a76e69487600bf7554d2a5 (patch)
tree0cc1312deae21342c7895d334722643769b330fc /clang/test/Driver/cl-options.c
parent6a83143650aeb02e9c53bd5f7b7b5253a6c8b157 (diff)
downloadbcm5719-llvm-9c3fca3698ea9fcbc6a76e69487600bf7554d2a5.tar.gz
bcm5719-llvm-9c3fca3698ea9fcbc6a76e69487600bf7554d2a5.zip
clang-cl: Don't warn about /Oy- being unused in 64-bit builds.
http://reviews.llvm.org/D18392 llvm-svn: 264163
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r--clang/test/Driver/cl-options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index 3730ba287ab..a3ecfecd6a5 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -123,13 +123,13 @@
// PR24003: -momit-leaf-frame-pointer
// PR24003: -Os
-// RUN: %clang_cl --target=i686-pc-win32 /Oy- /O2 -### -- %s 2>&1 | FileCheck -check-prefix=Oy_2 %s
+// RUN: %clang_cl --target=i686-pc-win32 -Werror /Oy- /O2 -### -- %s 2>&1 | FileCheck -check-prefix=Oy_2 %s
// Oy_2: -momit-leaf-frame-pointer
// Oy_2: -O2
-// RUN: %clang_cl /Zs /Oy -- %s 2>&1
+// RUN: %clang_cl /Zs -Werror /Oy -- %s 2>&1
-// RUN: %clang_cl --target=i686-pc-win32 /Oy- -### -- %s 2>&1 | FileCheck -check-prefix=Oy_ %s
+// RUN: %clang_cl --target=i686-pc-win32 -Werror /Oy- -### -- %s 2>&1 | FileCheck -check-prefix=Oy_ %s
// Oy_: -mdisable-fp-elim
// RUN: %clang_cl /Qvec -### -- %s 2>&1 | FileCheck -check-prefix=Qvec %s
OpenPOWER on IntegriCloud