Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
inh-ctor39.C
blob: 3e6356c9935f366cea9ce38d1c4d2d34655598b2 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
struct
A
{
A
();
A
(
int
);
};
struct
B
{
B
();
B
(
void
*);
};
template
<
class
...
T
>
struct
C
:
T
...
{
using
T
::
T
...;
};
C
<
A
,
B
>
c1
(
42
);
C
<
A
,
B
>
c2
(
nullptr
);