Mercurial > projects > dstress
view run/opPostInc_11.d @ 958:80e1b85295b3
DMD-0.154 review
author | thomask |
---|---|
date | Thu, 13 Apr 2006 07:34:32 +0000 |
parents | 8c1ae5dd51b0 |
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.opPostInc_11; void dummy(...){ } int main() { real x = 9.0; dummy(x); real y=x++; if(y != 9.0L){ assert(0); } if(x != 10.0L){ assert(0); } return 0; }