Mercurial > projects > dstress
view nocompile/o/opSubAssign_01.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 9e0847cf535a |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <smjg_1998@yahoo.com> // @date@ 2005-04-18 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3713 module dstress.run.opSubAssign_01; void dummy(...){ } int main() { byte x = 9; dummy(x); int y-=x; assert(y==8); assert(x==9); return 0; }