Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
5471bc85b69912e3b448de004498a80c0de32296
/
.
/
test
/
Parser
/
cxx-member-initializers.cpp
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 '{'}}
};