// PR c++/79143 // { dg-do compile { target c++17 } } struct base { base (int, int) {} }; template struct derived : base { using base::base; }; template struct derived2 : base { derived2 (int x, int y) : base (x, y) {} }; int main () { base (13, 42); derived (13, 42); derived2 (13, 42); base{13, 42}; derived{13, 42}; // { dg-bogus "too many initializers" } derived2{13, 42}; }