summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/switch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/switch.cpp')
-rw-r--r--clang/test/SemaCXX/switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/switch.cpp b/clang/test/SemaCXX/switch.cpp
index 3882a1f952c..8a8cf33049d 100644
--- a/clang/test/SemaCXX/switch.cpp
+++ b/clang/test/SemaCXX/switch.cpp
@@ -8,7 +8,7 @@ void test() {
}
int n = 3;
- switch (n && 1) { // expected-warning {{bool}}
+ switch (n && true) { // expected-warning {{bool}}
case 1:
break;
}
OpenPOWER on IntegriCloud