Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-array-tparm.C

raw
1 // { dg-do compile { target c++11 } }
2
3 template <const int I[2]> struct A { int ir[I[0]]; };
4 extern constexpr int ar[2] = { 1, 2 };
5 A<ar> a;