Mercurial > projects > dstress
annotate run/bug_elfobj_1251_A.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | d3a3e0c251d8 |
children |
rev | line source |
---|---|
182 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Ben Hinkle <bhinkle4@juno.com> | |
6 // @date@ 2004-12-09 | |
7 // @uri@ news:cp86l0$106o$2@digitaldaemon.com | |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2491 |
182 | 9 |
10 module dstress.run.bug_elfobj_1251_A; | |
11 | |
12 bool foo() { | |
13 int x; | |
14 for (;;) { | |
15 if (x == 0) | |
16 return true; | |
17 x = 1; | |
18 } | |
19 return false; | |
20 } | |
21 | |
22 int main(){ | |
23 foo(); | |
24 return 0; | |
25 } |