1 // PR c++/71504 2 // { dg-do compile { target c++11 } } 3 4 enum E { e }; 5 6 constexpr bool arr[1][1] = {{true}}; 7 8 template<E x, E y> check()9 void check() { 10 static_assert(arr[x][y], ""); 11 } 12 main()13 int main() { 14 check<e, e>(); 15 } 16