Add a test for PR3733.

llvm-svn: 81622
This commit is contained in:
Anders Carlsson 2009-09-12 19:35:43 +00:00
parent edca0bcf48
commit 085af1fd29
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
struct x {
x() : a(4) ; // expected-error {{expected '{'}}
};
struct y {
int a;
y() : a(4) ; // expected-error {{expected '{'}}
};