// PR c++/107461 // { dg-do compile { target c++11 } } template T f(); template struct A { }; template struct B { template()(U()))>> static void g(U); }; int main() { B b; B::g(0); // { dg-bogus "no match" } }