blob: ad5d885427cb8767f531e267e6b4e0399f0b3d82 [file] [log] [blame]
// PR c++/80642
// { dg-do compile { target c++14 } }
int main()
{
[](auto i)
{
if (i)
{
int j;
static int k;
return i + j;
}
return i;
}(0);
}