Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail250.d
blob: c3fd7631aeca5c8d5d7da9fceb66df4b7f646690 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail250.d(10): Error: constructor fail250.A.this default constructor for structs only allowed with @disable, no body, and no parameters
---
*/
struct
A
{
this
()
{}
}
void
main
()
{
auto
a
=
A
();
}