☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-temp2.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-temp2.C
code
plain
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, "");