Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-64462.C
blob: 8cfd405f73bdd8b55c3a05e205ebf86cc71f3bfd [
file
] [
log
] [
blame
]
// PR c++/64462
// { dg-do compile { target c++11 } }
int
x
=
0
;
int
z
;
int
main
()
{
constexpr
int
&
y
=
x
;
// OK, 'y' is not ODR used
[]
{
z
=
y
;
}();
}