Mercurial > projects > dstress
comparison nocompile/foreach_19.d @ 360:e38919011244
dif. fixes 3
author | thomask |
---|---|
date | Fri, 25 Mar 2005 05:22:21 +0000 |
parents | 1c473946386f |
children | 36bedfa079e6 |
comparison
equal
deleted
inserted
replaced
359:b4e9dc55e25d | 360:e38919011244 |
---|---|
2 // $Date$ | 2 // $Date$ |
3 // $Author$ | 3 // $Author$ |
4 | 4 |
5 // index has to be int / uint | 5 // index has to be int / uint |
6 | 6 |
7 // __DSTRESS_ELINE__ 13 | |
8 | |
7 module dstress.nocompile.foreach_19; | 9 module dstress.nocompile.foreach_19; |
8 | 10 |
9 int main(){ | 11 int main(){ |
10 char[] string; | 12 char[] string; |
11 foreach(byte index, char c; string){ | 13 foreach(byte index, char c; string){ |
12 | |
13 } | 14 } |
14 return 0; | 15 return 0; |
15 } | 16 } |