summary refs log blame commit diff stats
path: root/tests/misc/tlocals.nim
blob: 3e240d3c875ff429f94d1f98babb206e89d2eb1d (plain) (tree)
1
2
3
4
5
6
7
8
9



                                  
                      


                     
 

         
discard """
  output: "(x: string here, a: 1)"
"""

proc simple[T](a: T) =
  var
    x = "string here"
  echo locals()

simple(1)