summary refs log tree commit diff stats
path: root/tests/js/t8821.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/t8821.nim')
-rw-r--r--tests/js/t8821.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/js/t8821.nim b/tests/js/t8821.nim
new file mode 100644
index 000000000..38c88efa8
--- /dev/null
+++ b/tests/js/t8821.nim
@@ -0,0 +1,9 @@
+
+proc isInt32(i: int): bool =
+  case i 
+  of 1 .. 70000:
+    return true
+  else:
+    return false
+
+doAssert isInt32(1) == true
\ No newline at end of file