Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/auto-fn31.C

raw
1 // PR c++/70572
2 // { dg-do compile { target c++14 } }
3
4 void foo ()
5 {
6 decltype (auto) a = foo; // { dg-error "initializer" }
7 }