some tests cleaned up; some bugfixes
This commit is contained in:
parent
c96aaecfb4
commit
fc6cc79273
18 changed files with 106 additions and 69 deletions
|
|
@ -1,13 +1,13 @@
|
|||
discard """
|
||||
file: "toverl.nim"
|
||||
line: 11
|
||||
errormsg: "attempt to redefine \'TNone\'"
|
||||
errormsg: "redefinition of \'TNone\'"
|
||||
"""
|
||||
# Test for overloading
|
||||
|
||||
type
|
||||
TNone {.exportc: "_NONE", final.} = object
|
||||
|
||||
proc TNone(a, b: int) = nil #ERROR_MSG attempt to redefine 'TNone'
|
||||
# Test for overloading
|
||||
|
||||
type
|
||||
TNone {.exportc: "_NONE", final.} = object
|
||||
|
||||
proc TNone(a, b: int) = nil #ERROR_MSG attempt to redefine 'TNone'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue