Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-temp2.C
blob: 28ffd2c86c46fe714431cefd04ba193c36137413 [
file
] [
log
] [
blame
]
// DR 2126
// { dg-do compile { target c++11 } }
typedef
const
int
CI
[
3
];
constexpr
CI
&
ci
=
CI
{
11
,
22
,
33
};
static_assert
(
ci
[
1
]
==
22
,
""
);