tnoforward.nim 156 B

12345678910111213141516
  1. discard """
  2. output: "10"
  3. """
  4. # {. noforward: on .}
  5. {.experimental: "codeReordering".}
  6. proc foo(x: int) =
  7. bar x
  8. proc bar(x: int) =
  9. echo x
  10. foo(10)