aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/loops.mp6
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
94for i = 1, 10
95 while true
96 if not true
97 continue
98 break
99
94a = 1 100a = 1
95repeat 101repeat
96 a += 1 102 a += 1