Files
Nim/tests/stdlib/tquit.nim
ringabout 3d2f0e2c7c make more standard libraries work with nimPreviewSlimSystem (#20343)
* make more standard libraries work with `nimPreviewSlimSystem`

* typo

* part two

* Delete specutils.nim

* fixes more tests

* more fixes

* fixes tests

* fixes three more tests

* add formatfloat import

* fix

* last
2022-09-27 20:06:23 +02:00

18 lines
267 B
Nim

discard """
output: '''
just exiting...
'''
joinable: false
"""
# Test `addQuitProc` (now deprecated by `addExitProc`)
import std/syncio
proc myExit() {.noconv.} =
write(stdout, "just exiting...\n")
{.push warning[deprecated]: off.}
addQuitProc(myExit)
{.pop.}