Mercurial > projects > dstress
comparison nocompile/foreach_17.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 |
---|---|
7 // __DSTRESS_ELINE__ 13 | 7 // __DSTRESS_ELINE__ 13 |
8 | 8 |
9 module dstress.nocompile.foreach_17; | 9 module dstress.nocompile.foreach_17; |
10 | 10 |
11 int main(){ | 11 int main(){ |
12 char[] string; | 12 string x = "ab"; |
13 foreach(in char c; string){ | 13 foreach(in char c; x){ |
14 } | 14 } |
15 return 0; | 15 return 0; |
16 } | 16 } |