Mercurial > projects > dstress
view run/bug_cg87_279_A.d @ 1330:f3f715978184
Georg Wrede <georg@iki.fi>
2007-01-07
mail:45A120F5.1050108@iki.fi
author | thomask |
---|---|
date | Sat, 13 Jan 2007 10:33:49 +0000 |
parents | 1e6afb94ce6d |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Tom S <h3r3tic@remove.mat.uni.torun.pl> // @date@ 2005-03-27 // @uri@ news:d26pug$2m4m$1@digitaldaemon.com module dstress.run.bug_cg87_279_A; float x; void foo(){ x = -x; } void bar(){ return foo(); } int main(){ x=2; bar(); assert(x==-2); return 0; }