diff options
-rw-r--r-- | tests/statictypes/tstatictypes.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/statictypes/tstatictypes.nim b/tests/statictypes/tstatictypes.nim index b5c45850a..359ae4c9f 100644 --- a/tests/statictypes/tstatictypes.nim +++ b/tests/statictypes/tstatictypes.nim @@ -340,3 +340,12 @@ var x:G[2,3,int] x.newG(4) var y = newG[2,3,int](4) + +#------------------------------------------------------------------------------------------ +# issue #12897 + +type + TileCT[n: static int] = object + a: array[n, int] + Tile = TileCT #Commenting this out to make it work + |