Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.
llvm-svn: 114316
diff --git a/clang/test/SemaCXX/cast-conversion.cpp b/clang/test/SemaCXX/cast-conversion.cpp
index d68e789..9ca8d15b 100644
--- a/clang/test/SemaCXX/cast-conversion.cpp
+++ b/clang/test/SemaCXX/cast-conversion.cpp
@@ -15,8 +15,7 @@
int main () {
B(10); // expected-error {{functional-style cast from 'int' to 'B' is not allowed}}
(B)10; // expected-error {{C-style cast from 'int' to 'B' is not allowed}}
- static_cast<B>(10); // expected-error {{static_cast from 'int' to 'B' is not allowed}} \\
- // expected-warning {{expression result unused}}
+ static_cast<B>(10); // expected-error {{static_cast from 'int' to 'B' is not allowed}}
}
template<class T>