aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/eliminate-dead-code/dead-code/for-break-dead
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test-files/mds-kbdc/eliminate-dead-code/dead-code/for-break-dead14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/eliminate-dead-code/dead-code/for-break-dead b/test-files/mds-kbdc/eliminate-dead-code/dead-code/for-break-dead
new file mode 100644
index 0000000..f8037a3
--- /dev/null
+++ b/test-files/mds-kbdc/eliminate-dead-code/dead-code/for-break-dead
@@ -0,0 +1,14 @@
+for 1 to 2 as \1
+ break
+ break
+end for
+
+# (for (@ 1 0-3) ‘1’ ‘2’ (.variable ‘\1’)
+# (.inner
+# (break (@ 2 2-7))
+# )
+# )
+# :3:2–7: warning: statement is unreachable
+# break
+# ^^^^^
+