www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Expression Statement without affect

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

http://digitalmars.com/d/statement.html#expression



supposed to be illegal, but dmd-0.109 doesn't complain

test cases:
http://svn.kuehne.cn/dstress/nocompile/ExpressionStatement_01.d
http://svn.kuehne.cn/dstress/nocompile/ExpressionStatement_02.d

Thomas

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

iD8DBQFBt/hm3w+/yD4P9tIRAiHaAKDSdG8HyE6UyYLE6Prw6b8EoSbW3ACeLXdH
bDd7RI7qfDF7lF2eA3KC18I=
=k7rv
-----END PGP SIGNATURE-----
Dec 08 2004