www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - double interface inheritance?

Is the stuff below allowed?


interface C { void f(); } class CC : C,C { void f() {} } void main() { CC cc = new CC(); cc.f(); } <<< I thought it should generate an error? roel
Oct 24 2006