view run/interface_10.d @ 1330:f3f715978184

Georg Wrede <georg@iki.fi> 2007-01-07 mail:45A120F5.1050108@iki.fi
author thomask
date Sat, 13 Jan 2007 10:33:49 +0000
parents e38919011244
children 52c9e86b6486
line wrap: on
line source

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

// @author@	Miguel Ferreira Simões <Kobold@netcabo.pt>
// @date@	2004-12-23
// @uri@	news:cqe7j0$2fl3$1@digitaldaemon.com
// @url@	nntp://digitalmars.com/digitalmars.D/14003

module dstress.run.interface_10;

interface ITest{
	static int dummy();
}

class Test : ITest{
	static int dummy(){
		return 5;
	}
}

int main(){
	Test t = new Test();
	assert(t.dummy()==5);
	return 0;
}