Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
fd31098434d7933a0471183f342473d1fb02389d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-ice5.C
blob: 305db812d82cbae968ffd406e805106a3e9a2bad [
file
] [
log
] [
blame
]
// PR c++/51227
// { dg-options "-std=c++0x" }
template
<int>
int
foo
()
{
[]
(
void
i
)
{
return
0
;
}
(
0
);
// { dg-error "incomplete|invalid|no match" }
}
void
bar
()
{
foo
<
0
>();
}