summary refs log tree commit diff stats
path: root/tests/generics/tstatictalias.nim
diff options
context:
space:
mode:
authorMiran <narimiran@users.noreply.github.com>2018-10-14 08:50:39 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-10-14 08:50:39 +0200
commit9f8b93641efda5e20a76732e5d11165ac323f1e0 (patch)
tree42ef980b6aa5647bf29a1fddf16d49aee22f08fb /tests/generics/tstatictalias.nim
parentafd5abdfc254f14bfb818f1a8bee892bd77dbf14 (diff)
downloadNim-9f8b93641efda5e20a76732e5d11165ac323f1e0.tar.gz
Merge tests into a larger file (part 3 of ∞: generics) (#9347)
* merge generics issues tests
* merge tgeneric
* merge test with local imports
* merge tcan tests
* merge matcher tests
* more issue tests merged
* one more tcan test
* merge various small tests into one file
* add a test for #3717
Diffstat (limited to 'tests/generics/tstatictalias.nim')
-rw-r--r--tests/generics/tstatictalias.nim20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/generics/tstatictalias.nim b/tests/generics/tstatictalias.nim
deleted file mode 100644
index 98751b8cb..000000000
--- a/tests/generics/tstatictalias.nim
+++ /dev/null
@@ -1,20 +0,0 @@
-discard """
-  output: '''G:0,1:0.1
-G:0,1:0.1
-H:1:0.1'''
-"""
-
-type
-  G[i,j:static[int]] = object
-    v:float
-  H[j:static[int]] = G[0,j]
-proc p[i,j:static[int]](x:G[i,j]) = echo "G:",i,",",j,":",x.v
-proc q[j:static[int]](x:H[j]) = echo "H:",j,":",x.v
-
-var
-  g0 = G[0,1](v: 0.1)
-  h0:H[1] = g0
-p(g0)
-p(h0)
-q(h0)
-# bug #4863