Files
Nim/tests/method/tmethod.nim
2014-01-13 02:10:03 +01:00

9 lines
151 B
Nim

discard """
file: "tmethod.nim"
line: 7
errormsg: "\'method\' needs a parameter that has an object type"
"""
method m(i: int): int =
return 5