Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-33.C
blob: 25781a484e0686d494f9764f929d2851d94551c9 [
file
] [
log
] [
blame
]
// PR c++/51239
// { dg-require-effective-target c++11 }
template
<
class
...
x
>
class
list
{};
template
<
class
a
,
class
...
b
>
using
tail
=
list
<
b
...>;
template
<
class
...
T
>
void
f
(
tail
<
T
...>);
// { dg-error "alias" }
int
main
()
{
f
<
int
,
int
>({});
}