Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail12901.d
blob: 8d62c3e04ca01e0f7e45ec1a29be68f109940e0e [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail12901.d(11): Error: constructor fail12901.S.this in and out contracts require function body
---
*/
struct
S
{
int
a
;
this
(
int
n
)
in
{
a
=
n
;
}
// no body
}