1 // { dg-do compile { target c++17 } }
2 
3 template <class...T>
f(T...t)4 constexpr auto f(T... t)
5 {
6   return (... + *t);
7 }
8 
9 const int i = 42, j = 24;
10 static_assert (f(&i,&j) == i+j);
11