Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto52.C
blob: c277d33d00225cf4f565778f977af666f8a1a736 [
file
] [
log
] [
blame
]
// PR c++/86942
// { dg-do compile { target c++11 } }
using
T
=
auto
()
->
int
;
using
U
=
void
()
->
int
;
// { dg-error "11:.type name. function with trailing return type not declared with .auto." }
using
W
=
auto
();
// { dg-error "11:.*auto." }