// PR c++/51507 // { dg-do compile { target c++11 } } template struct foo { typedef void type; }; template auto g(Ts ...ts)-> typename foo::type {} int main() { g(42); }