From: Eli Friedman Date: Mon, 6 Sep 2010 00:30:50 +0000 (+0000) Subject: Update test for r113128. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60b4d049ae53bf837aee6def125df2fdb941a8ec;p=clang Update test for r113128. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113131 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/i-c-e-cxx.cpp b/test/SemaCXX/i-c-e-cxx.cpp index 9672a420dc..2d08ea9a42 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}} }