This test case crashes on 1.030 but not
on 1.029 and 1.028.
I had this mentioned in bug #2067, but it was silently closed, so it is perhaps better to do this into its own bug report.
module test;
extern(C) int printf(char*,...);
class I {
public abstract void callI();
}
class C {
private int index;
void test1(){
printf( "ok\n" );
}
I test(){
auto i = new class() I {
public void callI() {
test1();
}
};
return i;
}
}
void main () {
auto c = new C;
auto i = c.test();
i.callI();
}