summary refs log tree commit diff stats
path: root/tests/vm/tconst_float_as_int.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-08-23 01:10:34 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-08-23 01:10:34 +0200
commite9e413552af0480747d025d422a0ea9500c582a2 (patch)
tree0b6a80f129e6915e22f3f36c607fab5d9ba488bc /tests/vm/tconst_float_as_int.nim
parent9c9a7b6520e45cc71f071e82e8306ad276d72258 (diff)
downloadNim-e9e413552af0480747d025d422a0ea9500c582a2.tar.gz
fixes #4619
Diffstat (limited to 'tests/vm/tconst_float_as_int.nim')
-rw-r--r--tests/vm/tconst_float_as_int.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/vm/tconst_float_as_int.nim b/tests/vm/tconst_float_as_int.nim
new file mode 100644
index 000000000..ed84ec194
--- /dev/null
+++ b/tests/vm/tconst_float_as_int.nim
@@ -0,0 +1,3 @@
+
+# bug #4619
+const x: float = 0