diff options
Diffstat (limited to 'tests/vm/tunsupportedintfloatcast.nim')
-rw-r--r-- | tests/vm/tunsupportedintfloatcast.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/vm/tunsupportedintfloatcast.nim b/tests/vm/tunsupportedintfloatcast.nim new file mode 100644 index 000000000..d65f10d86 --- /dev/null +++ b/tests/vm/tunsupportedintfloatcast.nim @@ -0,0 +1,3 @@ +static: + echo cast[int32](12.0) #[tt.Error + ^ VM does not support 'cast' from tyFloat with size 8 to tyInt32 with size 4 due to different sizes]# |