re PR middle-end/71387 (ICE in emit_move_insn, at expr.c:3418 with -Og)
[platform/upstream/gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic37.C
1 // { dg-do compile { target c++11 } }
2 template<typename... Values>
3 struct tuple
4 {
5   static const __SIZE_TYPE__ length = sizeof...(Values);
6 };
7
8 int a0[tuple<>::length == 0? 1 : -1];
9 int a1[tuple<int>::length == 1? 1 : -1];
10 int a2[tuple<int, float>::length == 2? 1 : -1];