// PR c++/53498 // { dg-do compile { target c++11 } } template struct B { template static void b(const U& u, const Args&... args, decltype(u.f(args...)) dummy) { } }; int main() { B b; }