Mercurial > projects > dstress
view run/opPostInc_11.d @ 1533:ac560364010c
enforce checks for -release builds
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:36:34 +0000 |
parents | b8c0195059d9 |
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.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; }