// { dg-do compile { target c++17 } } template struct same; template struct same {}; template struct A { }; template struct B { B(T,T); }; int main() { same*>(); same*>(); }