[Issue 1791] New: Segmentation fault with anon class in anon class and non-constant variable init
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 18 08:19:37 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1791
Summary: Segmentation fault with anon class in anon class and
non-constant variable init
Product: D
Version: 1.025
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: benoit at tionex.de
This is not valid D code, but obviously DMD should not segfault on this:
interface I {
}
interface K {
void func();
}
class C{
this(){
I i = new class() I {
K k = new class() K {
void func(){
this.outer.outer;
}
};
};
}
int i;
}
void main(){
}
--
More information about the Digitalmars-d-bugs
mailing list