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