Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor17.C
blob: ed82a14e6512175b2aa6a9b7ecb3cdd98316c5f7 [
file
] [
log
] [
blame
]
// PR c++/57820
// { dg-do compile { target c++11 } }
struct
C
{
int
a
=
2
;
int
b
=
a
+
1
;
constexpr
C
()
{}
};
C c
;
constexpr
C d
;