Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-ice5.C
blob: 914e0f71e009d272fcf6ffb279bd102206031174 [
file
] [
log
] [
blame
]
// PR c++/51227
// { dg-do compile { target c++11 } }
template
<int>
int
foo
()
{
[]
(
void
i
)
{
return
0
;
}
(
0
);
// { dg-error "incomplete|invalid|no match" }
}
void
bar
()
{
foo
<
0
>();
}