diff options
Diffstat (limited to 'clang/test/SemaCXX/i-c-e-cxx.cpp')
-rw-r--r-- | clang/test/SemaCXX/i-c-e-cxx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/i-c-e-cxx.cpp b/clang/test/SemaCXX/i-c-e-cxx.cpp index ba60054f2e0..eae354814b5 100644 --- a/clang/test/SemaCXX/i-c-e-cxx.cpp +++ b/clang/test/SemaCXX/i-c-e-cxx.cpp @@ -16,9 +16,9 @@ void f() { } int a() { - const int t=t; + const int t=t; // expected-note {{declared here}} switch(1) { // expected-warning {{no case matching constant switch condition '1'}} - case t:; // expected-error {{not an integer constant expression}} + case t:; // expected-error {{not an integer constant expression}} expected-note {{initializer of 't' is not a constant expression}} } } |