From e9e53d581db206f7855c586a417712140d907a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 14 Mar 2022 11:36:32 +0200 Subject: [PATCH] test: Remove a workaround for an old clang version --- test/global-terminate.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/global-terminate.cpp b/test/global-terminate.cpp index b407fb4d..df0deade 100644 --- a/test/global-terminate.cpp +++ b/test/global-terminate.cpp @@ -26,12 +26,6 @@ void whoa() { } int main(int argc, char *argv[]) { -#if defined(__aarch64__) && defined(__clang__) && __clang_major__ < 12 - // This test succeeds with latest clang (since 20f7773bb4bb458, Sept 2020, - // on the clang 12.0 branch), but fails before that. - return 0; -#else ::std::set_terminate(whoa); throw 42; -#endif }