summary refs log tree commit diff stats
path: root/tests/overload/toverwr.nim
blob: 5945a6149f23bf14f3a2cccfbd398e1086436e84 (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) =
  discard # a nop

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