summary refs log tree commit diff stats
path: root/tests/js/tfloatround.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/tfloatround.nim')
-rw-r--r--tests/js/tfloatround.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/js/tfloatround.nim b/tests/js/tfloatround.nim
new file mode 100644
index 000000000..7bc5430e6
--- /dev/null
+++ b/tests/js/tfloatround.nim
@@ -0,0 +1,7 @@
+discard """
+  output: '''
+3
+'''
+"""
+
+echo int(22 / 7)