view nocompile/f/final_12_C.d @ 1204:ac780878d371

[Issue 440] New: dmd.170 fails to mark final methods as implementations of abstract ones Tomasz Stachowiak <h3r3tic@mat.uni.torun.pl> 2006-10-17 news:bug-440-3@http.d.puremagic.com/issues/
author thomask
date Sun, 22 Oct 2006 15:24:24 +0000
parents
children daef239f37cf
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Tomasz Stachowiak <h3r3tic@mat.uni.torun.pl>
// @date@	2006-10-17
// @uri@	news:bug-440-3@http.d.puremagic.com/issues/
// @desc@	[Issue 440] New: dmd.170 fails to mark final methods as implementations of abstract ones

// __DSTRESS_ELINE__ 24

module dstress.nocompile.f.final_12_C;

interface I {
	void foo();
}

class Parent : I {
	final void foo() {
	}
}

class Child : Parent, I {
	void foo() {
	}
}