// { dg-options "-std=gnu++0x" } template struct count; template<> struct count<> { static const int value = 0; }; template struct count { static const int value = 1 + count::value; }; int a0[count<>::value == 0? 1 : -1]; int a1[count::value == 1? 1 : -1]; int a2[count::value == 2? 1 : -1]; int a3[count::value == 3? 1 : -1]; int a4[count::value == 4? 1 : -1];