summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main.nim')
0 files changed, 0 insertions, 0 deletions
e the previous revision' href='/ahoang/Nim/blame/tests/cpp/tevalorder.nim?h=devel&id=f8146dfd845e8d9a8f19ae59ef9c9350cd9db453'>^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18



              
              












                                                
discard """
  output: '''0
1
2'''
targets: "cpp"
"""

# bug #8202
var current: int = 0

proc gen(): string = current.inc; $(current - 1)

proc allOut(a, b, c: string) =
    echo a
    echo b
    echo c

allOut(gen(), gen(), gen())