Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr38646.C
blob: 7dd53ae26305469e1821c82c0e90fc17fc97b8b7 [
file
] [
log
] [
blame
]
/* PR c++/38646 */
/* { dg-do compile { target c++11 } } */
template
<
int
...>
struct
A
;
template
<
int
...
N
>
struct
A
<
N
...,
N
...>
/* { dg-error "must be at the end" } */
{
template
<typename>
struct
B
;
template
<
typename
T
>
struct
B
<
T
*>
{};
};