Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
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
}