diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/inputs/loops.mp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/inputs/loops.mp b/spec/inputs/loops.mp index 24d960f..8946a2f 100644 --- a/spec/inputs/loops.mp +++ b/spec/inputs/loops.mp | |||
@@ -91,6 +91,12 @@ while true | |||
91 | break if true | 91 | break if true |
92 | print "no" | 92 | print "no" |
93 | 93 | ||
94 | for i = 1, 10 | ||
95 | while true | ||
96 | if not true | ||
97 | continue | ||
98 | break | ||
99 | |||
94 | a = 1 | 100 | a = 1 |
95 | repeat | 101 | repeat |
96 | a += 1 | 102 | a += 1 |