1 // { dg-do compile { target c++14 } } 2 3 template <unsigned> f()4 auto f () { 5 return 2; 6 } 7 8 template <class> 9 class A {}; 10 11 template <int... Ix> g()12 auto g () { 13 A<decltype(f<Ix> ())...>(); 14 return f<2> (); 15 } 16