// { dg-do compile { target c++17 } } template struct A { }; template struct B { template B(A); }; A<42,24> a; B b (a); int main() { (B(a)); }