Debian Codegraph @

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

raw
1 // { dg-do compile { target c++11 } }
2
3 void f(int) { }
4 auto f(bool) { return f(true); } // { dg-error "auto" }
5
6 void (*ptr)(int) = &f;