mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
test case for #5640
This commit is contained in:
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])
|
||||
|
||||
Reference in New Issue
Block a user