blob: 34a725ff43af709478a04c6dea3e5cd059002547 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
struct x {
x() : a(4) ; // expected-error {{expected '{'}}
};
struct y {
int a;
y() : a(4) ; // expected-error {{expected '{'}}
};