blob: 19601a71fa54d7da115589f1727a760b5a5e3061 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail343.d(22): Error: function fail343.TimedApp.run cannot override final function I.fail343.Timer.run
fail_compilation/fail343.d(22): Error: function fail343.TimedApp.run cannot override final function Application.fail343.Application.run
---
*/
interface Timer
{
final void run() { }
}
interface I : Timer { }
interface Application
{
final void run() { }
}
class TimedApp : I, Application
{
// cannot define run()
void run() { }
}