Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr59111.C
blob: 62d8e8f86ec95cacec5c3d42b01ae4c7c7506015 [
file
] [
log
] [
blame
]
// PR c++/59111
// { dg-do compile { target c++11 } }
auto
&
foo
();
// { dg-error "type specifier without trailing return type" "" { target { ! c++14 } } }
int
i
=
foo
();
// { dg-error "" }