Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail188.d
blob: cd201d025bc43b807253425fba0576cb10ff6402 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail188.d(15): Error: function fail188.Derived.foo cannot override final function fail188.Base.foo
---
*/
class
Base
{
final
void
foo
()
{}
}
class
Derived
:
Base
{
void
foo
()
{}
}