summary refs log tree commit diff stats
path: root/tinyc/tcctools.c
Commit message (Collapse)AuthorAgeFilesLines
* TinyC upgrade (#6593)Dmitry Atamanov2017-10-281-0/+546
>
7be896a75 ^
ad608838b ^













1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


                                        
                     













                          
discard """
  cmd: "nim c --gc:boehm $options $file"
  output: '''meep'''
  disabled: "windows"
"""

proc callit(it: proc ()) =
  it()

proc main =
  var outer = "meep"
  proc x =
    echo outer
  var y: proc()
  deepCopy(y, x)
  callit(y)

main()