Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr59111.C
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 "" }