// { dg-do compile { target c++11 } } template struct array { static const int value = 0; }; template<> struct array { static const int value = 1; }; template struct array { static const int value = 2; }; template struct array { static const int value = 3; }; int a0[array::value == 0? 1 : -1]; int a1[array::value == 1? 1 : -1]; int a2[array::value == 2? 1 : -1]; int a3[array::value == 3? 1 : -1];