1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// PR c++/48292 // { dg-options -std=c++0x } template <typename... Args> int g(Args...); template <int N = 0> struct A { template <typename... Args> static auto f(Args... args) -> decltype(g(args...)); }; int main() { A<>::f(); return 0; }