Mercurial > projects > dstress
view nocompile/o/opSubAssign_01.d @ 528:9e0847cf535a
pre DMD-0.123 review
Walter <walter@digitalmars.com>
2005-05-11
mail:00a301c5567d$489cbf20$0200a8c0@colossus
author | thomask |
---|---|
date | Thu, 12 May 2005 11:13:04 +0000 |
parents | |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <smjg_1998@yahoo.com> // @date@ 2005-04-18 // @uri@ news:d402bj$nc0$6@digitaldaemon.com 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; }