Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
7
tests/toverl.nim
Executable file
7
tests/toverl.nim
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
# Test for overloading
|
||||
|
||||
type
|
||||
TNone {.export: "_NONE".} = record
|
||||
|
||||
proc
|
||||
TNone(a, b: int) = nil #ERROR_MSG attempt to redefine 'TNone'
|
||||
Loading…
Add table
Add a link
Reference in a new issue