Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag8928.d
blob: bdd1ae8b61e1128e6b720d2000243e5ceda6dea4 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/diag8928.d(18): Error: class diag8928.Z cannot implicitly generate a default ctor when base class diag8928.X is missing a default ctor
---
*/
class
X
{
this
(
int
n
)
{}
}
class
Y
:
X
{
this
()
{}
}
class
Z
:
X
{
}