Author: efriedma
Date: Sun Sep 5 19:30:50 2010
New Revision: 113131
URL: http://llvm.org/viewvc/llvm-project?rev=113131&view=rev
Log:
Update test for r113128.
Modified:
cfe/trunk/test/SemaCXX/i-c-e-cxx.cpp
Modified: cfe/trunk/test/SemaCXX/i-c-e-cxx.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/i-c-e-cxx.cpp?rev=113131&r1=113130&r2=113131&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/i-c-e-cxx.cpp (original)
+++ cfe/trunk/test/SemaCXX/i-c-e-cxx.cpp Sun Sep 5 19:30:50 2010
@@ -16,7 +16,7 @@
}
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}}
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits