diff options
Diffstat (limited to 'progs/tests/auto/simple_break.sy')
| -rw-r--r-- | progs/tests/auto/simple_break.sy | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/progs/tests/auto/simple_break.sy b/progs/tests/auto/simple_break.sy index 11c06ad..6f2e5b6 100644 --- a/progs/tests/auto/simple_break.sy +++ b/progs/tests/auto/simple_break.sy @@ -1,12 +1,12 @@ start :: fn { -a := 0 -for i := 0, i < 10, i += 1 { - a = a + 1 - if i == 2 { - break + a := 0 + for i := 0, i < 10, i += 1 { + a = a + 1 + if i == 2 { + break + } } -} -a <=> 3 + a <=> 3 } |
