view run/interface_10.d @ 1571:b6eb7f46f42c

[Issue 1813] static function parametrized with alias used with delegate throws an internal compiler error. <llucax@gmail.com> 2008-02-01 http://d.puremagic.com/issues/show_bug.cgi?id=1813
author thomask
date Thu, 21 Feb 2008 13:39:51 +0000
parents 52c9e86b6486
children
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
// @uri@	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;
}