Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
],
""
);
}