summary refs log blame commit diff stats
path: root/tests/overload/toverwr.nim
blob: b5791072eff8cf9df03a4747de7ec0b5f9c68264 (plain) (tree)
1
2
3
4
5
6
7





                                                                
                                





                             
discard """
  file: "toverwr.nim"
  output: "hello"
"""
# Test the overloading resolution in connection with a qualifier

proc write(t: File, s: string) =
  discard # a nop

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