summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibTest
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-14 20:31:17 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-14 21:41:51 +0200
commit405b8e79152da8049a2bf0a3c1e67486f362ee5d (patch)
tree498e46d64b41dc4f10264a05b93b9034c266d77d /Userland/Libraries/LibTest
parentf08a46bd9e56717253adb326c132b85992bc6aac (diff)
downloadserenity-405b8e79152da8049a2bf0a3c1e67486f362ee5d.zip
LibTest: Decorate cleanup_and_exit() with [[noreturn]]
Diffstat (limited to 'Userland/Libraries/LibTest')
-rw-r--r--Userland/Libraries/LibTest/TestRunner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibTest/TestRunner.h b/Userland/Libraries/LibTest/TestRunner.h
index c1fd84731e..a7d461c54d 100644
--- a/Userland/Libraries/LibTest/TestRunner.h
+++ b/Userland/Libraries/LibTest/TestRunner.h
@@ -73,7 +73,7 @@ inline void cleanup()
warn("\033]9;-1;\033\\");
}
-inline void cleanup_and_exit()
+[[noreturn]] inline void cleanup_and_exit()
{
cleanup();
exit(1);