Mercurial > projects > dstress
comparison nocompile/foreach_21.d @ 1560:36bedfa079e6
D1 -> D2 : 2/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:15:01 +0000 |
parents | e38919011244 |
children |
comparison
equal
deleted
inserted
replaced
1559:ec5e144583ea | 1560:36bedfa079e6 |
---|---|
5 // __DSTRESS_ELINE__ 11 | 5 // __DSTRESS_ELINE__ 11 |
6 | 6 |
7 module dstress.nocompile.foreach_21; | 7 module dstress.nocompile.foreach_21; |
8 | 8 |
9 int main(){ | 9 int main(){ |
10 char[] string; | 10 string x; |
11 foreach(int c, char c; string){ | 11 foreach(int c, char c; x){ |
12 } | 12 } |
13 return 0; | 13 return 0; |
14 } | 14 } |