summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/i-c-e-cxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/i-c-e-cxx.cpp')
-rw-r--r--test/SemaCXX/i-c-e-cxx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/i-c-e-cxx.cpp b/test/SemaCXX/i-c-e-cxx.cpp
index 9672a42..2d08ea9 100644
--- a/test/SemaCXX/i-c-e-cxx.cpp
+++ b/test/SemaCXX/i-c-e-cxx.cpp
@@ -16,7 +16,7 @@ void f() {
}
int a() {
- const int t=t; // expected-note {{subexpression not valid}}
+ const int t=t;
switch(1) { // expected-warning {{no case matching constant switch condition '1'}}
case t:; // expected-error {{not an integer constant expression}}
}
OpenPOWER on IntegriCloud