1 // Test for variable templates in pack expansion
2 // { dg-do compile { target c++14 } }
4 template <int I> const int Val = I;
6 constexpr int f () { return 0; }
7 template <class T, class ...Ts>
8 constexpr int f(T t, Ts... ts)
19 #define SA(X) static_assert((X),#X)
20 SA((g<1,2,3,4>() == 1+2+3+4));