blob: a09af89ce43ae8c59133b6bd806d59155c018e4a [file] [log] [blame]
// PR c++/56710
// { dg-do compile { target c++11 } }
// { dg-options "-Wall" }
int main()
{
int t = 0;
return [&]() -> int {int __t; __t = t; return __t; }();
return [&t]() -> int {int __t; __t = t; return __t; }();
}