diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-01-22 10:51:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 19:51:11 +0100 |
commit | 18b983d7e3525787d0d0c5e767f62dab67e9329f (patch) | |
tree | e3ac7a83b12f37cc2a9c5d14484ef0537cb18bdf /tests/stdlib/tquit.nim | |
parent | 8f1f0bd1daedfe96b1dd1cf248057be516e1d186 (diff) | |
download | Nim-18b983d7e3525787d0d0c5e767f62dab67e9329f.tar.gz |
addQuitProc => addExitProc (#16765)
Diffstat (limited to 'tests/stdlib/tquit.nim')
-rw-r--r-- | tests/stdlib/tquit.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/stdlib/tquit.nim b/tests/stdlib/tquit.nim index 0b4a479dc..81726fd7f 100644 --- a/tests/stdlib/tquit.nim +++ b/tests/stdlib/tquit.nim @@ -5,9 +5,11 @@ just exiting... joinable: false """ -# Test `addQuitProc` +# Test `addQuitProc` (now deprecated by `addExitProc`) proc myExit() {.noconv.} = write(stdout, "just exiting...\n") +{.push warning[deprecated]: off.} addQuitProc(myExit) +{.pop.} |