blob: 2027d6ef967cc412231188aa0d9df3ccd22b644b [file] [log] [blame]
// { dg-do compile { target c++14 } }
template <unsigned>
auto f () {
return 2;
}
template <class>
class A {};
template <int... Ix>
auto g () {
A<decltype(f<Ix> ())...>();
return f<2> ();
}