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

using T = int () -> decltype(auto); // { dg-error "11:.type name. function with trailing return type not declared with .auto." }