blob: b5791072eff8cf9df03a4747de7ec0b5f9c68264 (
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: File, s: string) =
discard # a nop
system.write(stdout, "hello")
#OUT hello
|