blob: 3e0b9ff601e4b959ebd20ef8c2eab049f8d60b6f [file] [log] [blame]
// PR c++/70540
// { dg-do compile { target c++11 } }
void
foo ()
{
auto f = [&] { return f; }; // { dg-error "before deduction" }
}