Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction95.C
blob: 05cbb2babfe11a7ae35cce171864380458fc0469 [
file
] [
log
] [
blame
]
// PR c++/100983
// { dg-do compile { target c++17 } }
struct
X
{
template
<
int
N
>
struct
Y
{
template
<
class
...
Ts
>
Y
(
Ts
...);
};
template
<
class
...
Ts
>
Y
(
Ts
...)
->
Y
<
sizeof
...(
Ts
)>;
};
X
::
Y y
{
1
,
2
,
3
};