aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/constexpr-51369.C
blob: 413566f49d6786c804e4a0046bcadf0864cb0146 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/51369
// { dg-do compile { target c++11 } }

constexpr int x[2][2] = {};

template<int>
void
foo ()
{
  x[0][0];
}