Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr31442.C
blob: b4c737c603c86b4fb7cc716be72015fe757aa8b1 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
typename
...
T
,
T
=
0
>
struct
A
{};
// { dg-error "parameter packs|T|the end|parameter packs|anonymous" }
struct
B
{
template
<
template
<
typename
...>
class
C
>
B
(
C
<int>
);
};
B b
=
A
<int>
();