www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - goto case Expression;

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


http://digitalmars.com/d/statement.html#goto
# The fourth form, goto case Expression;, transfers to the CaseStatement
# of the innermost enclosing SwitchStatement  with a matching
# Expression.

Only the innermost enclosing switch is checked for a matching
Expression.

test case:
http://svn.kuehne.cn/dstress/run/goto_05.d

Thomas


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.13 (GNU/Linux)

iD8DBQFBt+5x3w+/yD4P9tIRAroHAJ0Xs4oV7cjuVKB92EAr3kktC5kbtgCgpewM
YGBctgNwE8MTNjtdw/b04V4=
=4Uvx
-----END PGP SIGNATURE-----
Dec 08 2004