summary refs log tree commit diff stats
path: root/tests/misc/tnoforward.nim
blob: b6a71897a490346bd7c278990699877865f34488 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
discard """
  output: "10"
"""

# {. noforward: on .}
{.experimental: "codeReordering".}

proc foo(x: int) =
  bar x

proc bar(x: int) =
  echo x

foo(10)