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