blob: e0ee131a9bbaa706cef9f10339ed4fe6eb77f802 [file] [log] [blame]
// { dg-do compile { target c++17 } }
template <class...T>
constexpr auto f(T... t)
{
return (... + *t);
}
const int i = 42, j = 24;
static_assert (f(&i,&j) == i+j);