summary refs log tree commit diff stats
path: root/tests/js/t20233.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/t20233.nim')
-rw-r--r--tests/js/t20233.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/js/t20233.nim b/tests/js/t20233.nim
new file mode 100644
index 000000000..401d14122
--- /dev/null
+++ b/tests/js/t20233.nim
@@ -0,0 +1,7 @@
+discard """
+  output: "yes"
+"""
+case 1.0
+of 1.0..2.0, 4.0: echo "yes"
+of 3.0: discard
+else: echo "no"
\ No newline at end of file