Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-57764.C
blob: b26f4b50449bdbaa8d6f8100ebdeb34622d329d0 [
file
] [
log
] [
blame
]
// PR c++/57764
// { dg-do compile { target c++11 } }
constexpr
int
x
=
42
;
struct
S
{
static
constexpr
int
const
&
y
=
x
;
};
constexpr
int
const
&
S
::
y
;