// PR c++/98881 // { dg-additional-options "-fmodules-ts" } import "tpl-tpl-parm-3_a.H"; template struct A {}; template struct B {}; void foo() { X> a; X> b; a.f(b); Y y; }