Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ref9.C
blob: 97f88fefc6e8abd50af8c6fbfbc0177900f83882 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
int
a
[
2
]
=
{
1
,
2
};
int
main
()
{
auto
&
r
=
a
;
static_assert
(&
r
[
0
]
==
&
a
[
0
],
""
);
}