test case for #5640

This commit is contained in:
Zahary Karadjov 2017-04-07 21:57:04 +03:00
commit fceef77301

6
tests/types/t5640.nim Normal file
View file

@ -0,0 +1,6 @@
type
vecBase[I: static[int]] = distinct array[I, float32]
vec2* = vecBase[2]
var v = vec2([0.0'f32, 0.0'f32])