1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 struct x {
4 x() : a(4) ; // expected-error {{expected '{'}}
5 };
6
7 struct y {
8 int a;
9 y() : a(4) ; // expected-error {{expected '{'}}
10 };
11
12 struct z {
13 int a;
14 z() : a {} // expected-error {{expected '('}}
15 };
16