summaryrefslogtreecommitdiff
path: root/test/diagnostics/code-after-break.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/code-after-break.lua')
-rw-r--r--test/diagnostics/code-after-break.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/code-after-break.lua b/test/diagnostics/code-after-break.lua
new file mode 100644
index 00000000..a150948b
--- /dev/null
+++ b/test/diagnostics/code-after-break.lua
@@ -0,0 +1,7 @@
+TEST [[
+while true do
+ break
+ <!print()
+ print()!>
+end
+]]