Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-51369.C

raw
1 // PR c++/51369
2 // { dg-do compile { target c++11 } }
3
4 constexpr int x[2][2] = {};
5
6 template<int>
7 void
8 foo ()
9 {
10 x[0][0];
11 }