summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-01-22 10:51:11 -0800
committerGitHub <noreply@github.com>2021-01-22 19:51:11 +0100
commit18b983d7e3525787d0d0c5e767f62dab67e9329f (patch)
treee3ac7a83b12f37cc2a9c5d14484ef0537cb18bdf /tests/stdlib
parent8f1f0bd1daedfe96b1dd1cf248057be516e1d186 (diff)
downloadNim-18b983d7e3525787d0d0c5e767f62dab67e9329f.tar.gz
addQuitProc => addExitProc (#16765)
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tquit.nim4
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.}