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



                      

                                                                 
                                  
                  
 

                              

 
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