December 09, 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://digitalmars.com/d/statement.html#expression
# Expressions that have no affect, like (x + x), are illegal in
# expression statements.

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-----