seg-v in 4 lines (DMD 0.160 Linux/XP)
Thomas Kuehne
thomas-dloop at kuehne.cn
Fri Jun 30 00:24:11 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
BCS schrieb am 2006-06-29:
> Thomas Kuehne wrote:
>>
>>
>> Added to DStress as
>> http://dstress.kuehne.cn/run/s/switch_22_A.d
>> http://dstress.kuehne.cn/run/s/switch_22_B.d
>> http://dstress.kuehne.cn/run/s/switch_22_C.d
>> http://dstress.kuehne.cn/run/s/switch_22_D.d
>> http://dstress.kuehne.cn/run/s/switch_22_E.d
>> http://dstress.kuehne.cn/run/s/switch_22_F.d
>> http://dstress.kuehne.cn/run/s/switch_22_G.d
>> http://dstress.kuehne.cn/run/s/switch_22_I.d
>> http://dstress.kuehne.cn/run/s/switch_22_J.d
>>
>
> "It is illegal for a GotoStatement to be used to skip initializations."
>
> How does this effect the legality of these test cases. For that matter
> how do I determine if a test case is considered to be legal?
legal:
http://dstress.kuehne.cn/compile/
http://dstress.kuehne.cn/run/
illegal:
http://dstress.kuehne.cn/nocompile/
http://dstress.kuehne.cn/norun/
Those in http://dstress.kuehne.cn/complex/ are "complex" tests.
> I would expect that "A" would be illegal because of this.
Fixed.
> I think that the actions of the rest are not specified.
Replace scope with writefln("activate scope X"); and analyse again.
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFEpN5U3w+/yD4P9tIRAlLTAKCd2CG5xMbjRspuWbxVi/LSC4OvcgCbBnmF
oMUvbqKvKJassPUPMaEHh3g=
=PNrH
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list