Debian Codegraph @

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

raw
1 // PR c++/67012
2 // { dg-do compile { target c++14 } }
3
4 decltype(auto) f() -> int; // { dg-error "1:.f. function with trailing return type has" }