From 60b4d049ae53bf837aee6def125df2fdb941a8ec Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Mon, 6 Sep 2010 00:30:50 +0000 Subject: [PATCH] Update test for r113128. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113131 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaCXX/i-c-e-cxx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}} } -- 2.40.0