Debian Codegraph @

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

raw
1 // { dg-do compile { target c++14 } }
2
3 using T = int () -> decltype(auto); // { dg-error "11:.type name. function with trailing return type not declared with .auto." }