summary refs log tree commit diff stats
path: root/tests/accept/run/toverwr.nim
blob: ef25e891395c96e66ad04637b6087c92d0ad48a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
discard """
  file: "toverwr.nim"
  output: "hello"
"""
# Test the overloading resolution in connection with a qualifier

proc write(t: TFile, s: string) =
  nil # a nop

system.write(stdout, "hello")
#OUT hello