Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail3581b.d
blob: c2f7f13558ad3fe5ba747cc6562ef620b3b7ef59 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail3581b.d(9): Error: function `fail3581b.B.f` `private` method is not virtual and cannot override
---
*/
class
A
{
void
f
()
{}
}
class
B
:
A
{
private
override
void
f
()
{};
}
void
main
()
{}