test case for #5640
This commit is contained in:
parent
0b7321651e
commit
fceef77301
1 changed files with 6 additions and 0 deletions
6
tests/types/t5640.nim
Normal file
6
tests/types/t5640.nim
Normal 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])
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue