Classes in scopes
bearophile
bearophileHUGS at lycos.com
Fri Oct 24 01:02:31 PDT 2008
I think I may have found another bug (n. 41) in DMD:
void main() {
{ class Foo {} }
{ class Foo {} }
}
It produces:
t.o:(.rodata+0x34): multiple definition of `_Dmain3Foo6__initZ'
t.o:(.rodata+0x0): first defined here
...
-------------------
Unrelated:
I may have found a bug in std.intrinsics too, shown by this code:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=78637
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list