Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/inh-ctor39.C

raw
1 // { dg-do compile { target c++17 } }
2
3 struct A { A(); A(int); };
4 struct B { B(); B(void*); };
5
6 template <class... T> struct C: T...
7 {
8 using T::T...;
9 };
10
11 C<A,B> c1(42);
12 C<A,B> c2(nullptr);