Mercurial > projects > dstress
annotate run/c/continue_04_C.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | f4e98d870b57 |
children |
rev | line source |
---|---|
854 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Chris Miller <chris@dprogramming.com> | |
6 // @date@ 2006-02-16 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6288 |
854 | 8 |
9 module dstress.run.c.continue_04_C; | |
10 | |
11 int main(){ | |
12 int sum; | |
1090 | 13 |
854 | 14 foreach(char c; "\x00\x01\x02"){ |
15 sum += c; | |
16 } | |
17 | |
18 if(sum == 3){ | |
19 return 0; | |
20 } | |
21 } | |
22 |