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