summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/switch-recovery.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-08-18 02:04:29 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-08-18 02:04:29 +0000
commit2b949c2b4b505a43b4d44196514ac99780970c7b (patch)
treebb82b0edb8261d0cc61f7070816b1faaf3892897 /clang/test/Parser/switch-recovery.cpp
parentee403fa613bcae0a3956efbe99a33b48d8e7577d (diff)
downloadbcm5719-llvm-2b949c2b4b505a43b4d44196514ac99780970c7b.tar.gz
bcm5719-llvm-2b949c2b4b505a43b4d44196514ac99780970c7b.zip
Remove the last FIXMEs on -Wunused-comparison since it got moved to
entirely use the existing -Wunused-value infrastructure. This also fixes a few missed cases for -Wunused in general. llvm-svn: 137916
Diffstat (limited to 'clang/test/Parser/switch-recovery.cpp')
-rw-r--r--clang/test/Parser/switch-recovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/switch-recovery.cpp b/clang/test/Parser/switch-recovery.cpp
index a1df4261db4..84ac0c899e5 100644
--- a/clang/test/Parser/switch-recovery.cpp
+++ b/clang/test/Parser/switch-recovery.cpp
@@ -79,7 +79,7 @@ int test7(int i) {
case false ? 1 : 2:
true ? 1 : 2: // expected-error {{expected 'case' keyword before expression}}
case 10:
- 14 ? 3 : 4;
+ 14 ? 3 : 4; // expected-warning {{expression result unused}}
default:
return 1;
}
OpenPOWER on IntegriCloud