[Bug 133] New: Assertion toobj.c:258

Thomas Kuehne thomas-dloop at kuehne.cn
Sun May 14 21:29:22 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-05-10:
> class Foo : Bar {}
> class FooT(V){}
> class Bar : FooT!(int) {}
> void main(){}
>
> Results in this internal compiler Error:
>
> dmd: toobj.c:258: virtual void ClassDeclaration::toObjFile(): Assertion
> `structsize >= 8' failed.

Added to DStress as
http://dstress.kuehne.cn/run/c/class_23_A.d
http://dstress.kuehne.cn/run/c/class_23_B.d
http://dstress.kuehne.cn/run/c/class_23_C.d
http://dstress.kuehne.cn/run/c/class_23_D.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEaA+73w+/yD4P9tIRAk31AJ4vrCB4wjRTeOiZGSGlt2Q7eRXY4gCg0jG6
aj4FKP2I1KFRqyvRmVEcNVM=
=O7jW
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list