(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
auto48.C
// PR c++/70540
// { dg-do compile { target c++11 } }

void
foo ()
{
  auto f = [&] { return f; };  // { dg-error "before deduction" }
}