diff --git a/tests/typerel/t22842.nim b/tests/typerel/t22842.nim deleted file mode 100644 index 917aee875f..0000000000 --- a/tests/typerel/t22842.nim +++ /dev/null @@ -1,11 +0,0 @@ -discard """ - output: '''done''' -""" -# Issue #22842: internal error: getTypeDescAux(tyAnything) with auto in proc type -# https://github.com/nim-lang/Nim/issues/22842 - -proc register(cb: proc (e: auto): void) = discard - -register(proc (e: int) = echo e) - -echo "done"