Mercurial > projects > dstress
annotate run/bug_cg87_279_F.d @ 736:1e6afb94ce6d
updated meta data for Torture
author | thomask |
---|---|
date | Sat, 12 Nov 2005 07:28:46 +0000 |
parents | f37683b0277b |
children | b8c0195059d9 |
rev | line source |
---|---|
371 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Tom S <h3r3tic@remove.mat.uni.torun.pl> | |
6 // @date@ 2005-03-27 | |
7 // @uri@ news:d26pug$2m4m$1@digitaldaemon.com | |
8 | |
9 module dstress.run.bug_cg87_279_F; | |
10 | |
11 ireal x; | |
12 | |
13 void foo(){ | |
14 x = -x; | |
15 } | |
16 | |
17 void bar(){ | |
18 return foo(); | |
19 } | |
20 | |
21 int main(){ | |
22 x=2i; | |
23 bar(); | |
24 assert(x==-2i); | |
25 return 0; | |
736 | 26 } |