From e9e413552af0480747d025d422a0ea9500c582a2 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 23 Aug 2016 01:10:34 +0200 Subject: fixes #4619 --- tests/vm/tconst_float_as_int.nim | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/vm/tconst_float_as_int.nim (limited to 'tests/vm/tconst_float_as_int.nim') 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 -- cgit 1.4.1-2-gfad0