Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
>({});
}