Sign in
gnu
/
gcc
/
7d75ea04cf6d9c8960d5c6119d6203568b7069e9
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ref7.C
blob: 72c8d089d7742beba13ab364d18f9af96e9be276 [
file
] [
log
] [
blame
]
// PR c++/57654
// { dg-do compile { target c++11 } }
int
i
;
constexpr
int
&
iref
=
i
;
constexpr
int
&
irefref
=
iref
;
class
A
{
static
constexpr
int
&
irefref
=
iref
;
};