summary refs log tree commit diff stats
path: root/tests/generics/tclosed_sym.nim
blob: ff620c2675ec9e2d6722551da4b82b062eebf2bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
discard """
  output: "TEST2"
"""

# bug #2664

import mclosed_sym

proc same(r:R, d:int) = echo "TEST1"

doIt(Data[int](d:123), R())