blob: 93b53273741036df59047f0b09fcb0ddf26cf46f [file] [log] [blame]
// { dg-do compile { target c++17 } }
void f(int i)
{
[i]() constexpr {
int j; // { dg-error "uninitialized" "" { target c++17_down } }
j = i;
return j;
}();
}