diff options
author | Miran <narimiran@disroot.org> | 2019-03-07 00:49:39 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-03-07 00:49:39 +0100 |
commit | 2b5e48d80735be60c68023de114a586bbcc18360 (patch) | |
tree | 4031d089c40c86339aa2a9b15b9f47840c473400 /tests/manyloc/standalone | |
parent | 26f48437ca429f8e25f20d1f986c5b46e83cc90b (diff) | |
download | Nim-2b5e48d80735be60c68023de114a586bbcc18360.tar.gz |
move assertions and iterators out of system.nim (#10597)
* move assertions and iterators out of system.nim * limit nimsuggest tests to the first 3 suggestions
Diffstat (limited to 'tests/manyloc/standalone')
-rw-r--r-- | tests/manyloc/standalone/panicoverride.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/manyloc/standalone/panicoverride.nim b/tests/manyloc/standalone/panicoverride.nim index 9d0d070c7..d9b3f4388 100644 --- a/tests/manyloc/standalone/panicoverride.nim +++ b/tests/manyloc/standalone/panicoverride.nim @@ -2,10 +2,6 @@ proc printf(frmt: cstring) {.varargs, importc, header: "<stdio.h>", cdecl.} proc exit(code: int) {.importc, header: "<stdlib.h>", cdecl.} -proc nimToCStringConv(s: NimString): cstring {.compilerProc, inline.} = - if s == nil or s.len == 0: result = cstring"" - else: result = cstring(addr s.data) - {.push stack_trace: off, profiler:off.} proc rawoutput(s: string) = |