diff options
Diffstat (limited to 'clang/test/SemaCXX/switch.cpp')
-rw-r--r-- | clang/test/SemaCXX/switch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/switch.cpp b/clang/test/SemaCXX/switch.cpp index 54240dcc305..fc13630bbf1 100644 --- a/clang/test/SemaCXX/switch.cpp +++ b/clang/test/SemaCXX/switch.cpp @@ -8,8 +8,7 @@ void test() { } int n = 3; - switch (n && 1) { // expected-warning {{bool}} \ - // expected-warning {{use of logical && with constant operand}} + switch (n && 1) { // expected-warning {{bool}} case 1: break; } |