a auto object produced in a version scope.

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Mar 1 10:11:50 PST 2006


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

yama schrieb am 2006-02-26:
> D.bug.
> A auto object produced in a version scope sets up a segmentation falt.
>
> void main()
> {
>         version(all) { auto Object obj = new Object; }
>         obj.print;
> } 

Added to DStress as
http://dstress.kuehne.cn/run/a/auto_16_A.d
http://dstress.kuehne.cn/run/a/auto_16_B.d
http://dstress.kuehne.cn/run/a/auto_16_C.d
http://dstress.kuehne.cn/run/a/auto_16_D.d
http://dstress.kuehne.cn/run/a/auto_16_E.d
http://dstress.kuehne.cn/run/a/auto_16_F.d

Thomas


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

iD8DBQFEBeWw3w+/yD4P9tIRAho0AJ9d9blBzrsl92IB4CYR390IQ02f4ACfXi4W
eaP5Aix/JUVRY3LMxjLlHIA=
=bP79
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list