annotate tests/mini/compile_bug174_enclosing_on_break.d @ 1185:8baf611f0009

Fix nested references to 'ref' foreach variables. These "walk around" the array being iterated over, so they're a bit trickier than other variables to get right.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 01 Apr 2009 00:01:44 +0200
parents d51551cb3a85
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
901
d51551cb3a85 Fix #174.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
1 void main()
d51551cb3a85 Fix #174.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
2 {
d51551cb3a85 Fix #174.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
3 scope Object o;
d51551cb3a85 Fix #174.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
4 switch(0) {}
d51551cb3a85 Fix #174.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
5 }