Sign in
gnu
/
gcc
/
5e9c4ed903c39f82f28362d9411d4dbc491264ec
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
pr89913.C
blob: 8ef9b1e2830276fa63b0be0effe1cef5e254c6a1 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++20 } }
template
<
typename
...>
using
A
=
auto
;
// { dg-error "not allowed" }
// In pre-20, the error is "invalid use of auto"
template
<
typename
...
T
>
using
B
=
A
<
T
...>;