summary refs log tree commit diff stats
path: root/tests/overload/toverwr.nim
blob: 32d50faaa293eb811943941ffcdbd85f1da07579 (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