Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-warn2.C
blob: 6542392ef1af00285558c86856e2fa772b5617cb [
file
] [
log
] [
blame
]
// PR c++/42370
// { dg-do compile { target c++11 } }
// { dg-options "-Wall" }
void
foo
()
{
[]{
return
0
;
}();
}
// { dg-bogus "no return statement" }