[cfe-commits] r81622 - /cfe/trunk/test/Parser/cxx-member-initializers.cpp
Anders Carlsson
andersca at mac.com
Sat Sep 12 12:35:43 PDT 2009
Author: andersca
Date: Sat Sep 12 14:35:43 2009
New Revision: 81622
URL: http://llvm.org/viewvc/llvm-project?rev=81622&view=rev
Log:
Add a test for PR3733.
Added:
cfe/trunk/test/Parser/cxx-member-initializers.cpp
Added: cfe/trunk/test/Parser/cxx-member-initializers.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/cxx-member-initializers.cpp?rev=81622&view=auto
==============================================================================
--- cfe/trunk/test/Parser/cxx-member-initializers.cpp (added)
+++ cfe/trunk/test/Parser/cxx-member-initializers.cpp Sat Sep 12 14:35:43 2009
@@ -0,0 +1,8 @@
+struct x {
+ x() : a(4) ; // expected-error {{expected '{'}}
+};
+
+struct y {
+ int a;
+ y() : a(4) ; // expected-error {{expected '{'}}
+};
More information about the cfe-commits
mailing list