Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
95c7b00fe857a61a19185483aa0d85492ec9e258
/
.
/
test
/
SemaCXX
/
direct-initializer.cpp
blob: c756e473dd48ef8ee3e13854baeff4d5e7a79951 [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only -verify %s
int
x
(
1
);
int
(
x2
)(
1
);
void
f
()
{
int
x
(
1
);
int
(
x2
)(
1
);
// expected-warning {{statement was disambiguated as declaration}}
for
(
int
x
(
1
);;)
{}
}