Mercurial > projects > dstress
annotate nocompile/f/foreach_37_A.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | c2a8690a9fca |
children |
rev | line source |
---|---|
1163
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
2 // $Date$ |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
3 // $Author$ |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
4 |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
5 // @author@ Deewiant <deewiant@gmail.com> |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
6 // @date@ 2006-09-20 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1163
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=297 |
1163
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 297] New: Shadowing declarations allowed in foreach type lists |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
9 |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
10 // __DSTRESS_ELINE__ 18 |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
11 |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.f.foreach_37_A; |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
13 |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
14 void foo(){ |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
15 int[] x = new int[3]; |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
16 int e; |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
17 |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
18 foreach(e; x){ |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
19 } |
c2a8690a9fca
[Issue 297] New: Shadowing declarations allowed in foreach type lists
thomask
parents:
diff
changeset
|
20 } |