(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1y/
auto-fn52.C
// PR c++/67012
// { dg-do compile { target c++14 } }

decltype(auto) f() -> int; // { dg-error "1:.f. function with trailing return type has" }