annotate nocompile/foreach_22.d @ 1576:b3e16c86558e

[Issue 1398] New: GDC doesn't generate correct code <mariusmuja@gmail.com> 2007-08-04 http://d.puremagic.com/issues/show_bug.cgi?id=1398
author thomask
date Thu, 21 Feb 2008 15:20:08 +0000
parents e38919011244
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
183
1c473946386f extended foreach tests
thomask
parents:
diff changeset
1 // $HeadURL$
1c473946386f extended foreach tests
thomask
parents:
diff changeset
2 // $Date$
1c473946386f extended foreach tests
thomask
parents:
diff changeset
3 // $Author$
1c473946386f extended foreach tests
thomask
parents:
diff changeset
4
360
e38919011244 dif. fixes 3
thomask
parents: 183
diff changeset
5 // __DSTRESS_ELINE__ 11
e38919011244 dif. fixes 3
thomask
parents: 183
diff changeset
6
183
1c473946386f extended foreach tests
thomask
parents:
diff changeset
7 module dstress.nocompile.foreach_22;
1c473946386f extended foreach tests
thomask
parents:
diff changeset
8
1c473946386f extended foreach tests
thomask
parents:
diff changeset
9 int main(){
1c473946386f extended foreach tests
thomask
parents:
diff changeset
10 int[] array;
1c473946386f extended foreach tests
thomask
parents:
diff changeset
11 foreach(int c, int c; array){
1c473946386f extended foreach tests
thomask
parents:
diff changeset
12 }
1c473946386f extended foreach tests
thomask
parents:
diff changeset
13 return 0;
1c473946386f extended foreach tests
thomask
parents:
diff changeset
14 }