Debian Codegraph @

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

raw
1 // DR 2126
2 // { dg-do compile { target c++11 } }
3
4 typedef const int CI[3];
5 constexpr CI &ci = CI{11, 22, 33};
6 static_assert(ci[1] == 22, "");