summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/unused-expr.c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-09-19 21:21:44 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-09-19 21:21:44 +0000
commit3698bf1c6d73c3d9597a835d17cb7780f73bd8ca (patch)
tree90ef70b7b70e6ef428846f379163a66c6d19f6ea /clang/test/Sema/unused-expr.c
parent72664df10386b2fb7a8d3621599ad61186a94d30 (diff)
downloadbcm5719-llvm-3698bf1c6d73c3d9597a835d17cb7780f73bd8ca.tar.gz
bcm5719-llvm-3698bf1c6d73c3d9597a835d17cb7780f73bd8ca.zip
Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.
llvm-svn: 114316
Diffstat (limited to 'clang/test/Sema/unused-expr.c')
-rw-r--r--clang/test/Sema/unused-expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/unused-expr.c b/clang/test/Sema/unused-expr.c
index 15608ec8a4b..ac209eb3ab4 100644
--- a/clang/test/Sema/unused-expr.c
+++ b/clang/test/Sema/unused-expr.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-unreachable-code
+// RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-unreachable-code -Wunused-value
int foo(int X, int Y);
OpenPOWER on IntegriCloud