mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
join simple test
This commit is contained in:
@@ -20,4 +20,13 @@ proc findlib2: string =
|
||||
proc imported_func2*(a: cint): cstring {.importc, dynlib: findlib2().}
|
||||
|
||||
echo imported_func(1)
|
||||
echo imported_func2(1)
|
||||
echo imported_func2(1)
|
||||
|
||||
# issue #8946
|
||||
|
||||
from json import JsonParsingError
|
||||
import marshal
|
||||
|
||||
const nothing = ""
|
||||
doAssertRaises(JsonParsingError):
|
||||
var bar = marshal.to[int](nothing)
|
||||
|
||||
Reference in New Issue
Block a user