blob: db488ef55a4c26c46475d3327a548be575dd9c54 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename... Values>
struct tuple
{
static const __SIZE_TYPE__ length = sizeof...(Values);
};
int a0[tuple<>::length == 0? 1 : -1];
int a1[tuple<int>::length == 1? 1 : -1];
int a2[tuple<int, float>::length == 2? 1 : -1];