(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1z/
inh-ctor39.C
// { 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);