Mercurial > projects > dstress
changeset 335:bee3b548d5b6
return contains an Expression and no ExpressionStatement, thus effectless code is legal
author | thomask |
---|---|
date | Fri, 18 Mar 2005 13:28:49 +0000 |
parents | c1ca2f37362b |
children | e3562def9b09 |
files | nocompile/main_06.d run/main_06.d |
diffstat | 2 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/nocompile/main_06.d Fri Mar 18 11:35:53 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - -void main(){ - return 0; -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/main_06.d Fri Mar 18 13:28:49 2005 +0000 @@ -0,0 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// return contains an Expression and no ExpressionStatement, +// thus effectless code is legal + +module dstress.run.main_06; + +void main(){ + return 0; +}