Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/auto48.C

raw
1 // PR c++/70540
2 // { dg-do compile { target c++11 } }
3
4 void
5 foo ()
6 {
7 auto f = [&] { return f; }; // { dg-error "before deduction" }
8 }