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