summary refs log tree commit diff stats
path: root/tests/vm/tunsupportedintfloatcast.nim
blob: d65f10d8674fa811aaf2377d6ee91b77a03243b4 (plain) (blame)
1
2
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]#