diff options
author | Zahary Karadjov <zahary@gmail.com> | 2017-04-07 21:57:04 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2017-04-07 21:57:04 +0300 |
commit | fceef773015bd7f764c51549ec20768b5e9f5eb1 (patch) | |
tree | d3d44b1abb3d0a6985d03db15001fdd386a70248 /tests | |
parent | 0b7321651efdc08c6d45ec83c2ae3373a1ae4483 (diff) | |
download | Nim-fceef773015bd7f764c51549ec20768b5e9f5eb1.tar.gz |
test case for #5640
Diffstat (limited to 'tests')
-rw-r--r-- | tests/types/t5640.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/types/t5640.nim b/tests/types/t5640.nim new file mode 100644 index 000000000..5e1c99c4d --- /dev/null +++ b/tests/types/t5640.nim @@ -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]) + |