blob: 36bfc967b22c470af4e590fab8a1676e6b0a7400 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/diag8928.d(18): Error: class `diag8928.Z` cannot implicitly generate a default constructor when base class `diag8928.X` is missing a default constructor
---
*/
class X
{
this(int n) {}
}
class Y : X
{
this() {}
}
class Z : X
{
}