Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag5450.d
blob: 495fea9c95583c16c350ff5cce69ad1c8349d673 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/diag5450.d(18): Error: class diag5450.C cannot implicitly generate a default ctor when base class diag5450.B is missing a default ctor
---
*/
class
A
{
this
()
{
}
}
class
B
:
A
{
this
(
int
f
)
{}
}
class
C
:
B
{
}