Sign in
nest-open-source
/
stadia-controller
/
gcc-arm-none-eabi
/
3c699435f69c74a12f5fe18c0181fba6f1dd0479
/
.
/
src
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-union6.C
blob: 96d48182c3d22ab45f82ae3b7033e7ccae770026 [
file
] [
log
] [
blame
]
// PR c++/60184
// { dg-do compile { target c++11 } }
union
Test1
{
static
constexpr
int
kConstant
=
10
;
};
union
Test2
{
static
constexpr
const
int
&
kConstant
=
Test1
::
kConstant
;
};