blob: 4e48854418fa383180dc07d5b165f3e0d4cfcf6f [file] [log] [blame]
// PR c++/59111
// { dg-do compile { target c++11 } }
auto& foo(); // { dg-error "type specifier without trailing return type" "" { target { ! c++1y } } }
int i = foo(); // { dg-error "" }