From 64841374591b2843c73fd76ba604c040b99d412e Mon Sep 17 00:00:00 2001 From: Doug Wyatt Date: Sat, 5 Oct 2024 15:02:22 -0700 Subject: [PATCH] customize_verbose_abort.link-time.pass.cpp: Use _NOEXCEPT so as not to be noexcept in C++03. --- .../assertions/customize_verbose_abort.link-time.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/test/libcxx/assertions/customize_verbose_abort.link-time.pass.cpp b/libcxx/test/libcxx/assertions/customize_verbose_abort.link-time.pass.cpp index 2d30a39e37b159..21e9003c30b704 100644 --- a/libcxx/test/libcxx/assertions/customize_verbose_abort.link-time.pass.cpp +++ b/libcxx/test/libcxx/assertions/customize_verbose_abort.link-time.pass.cpp @@ -15,7 +15,7 @@ #include <__verbose_abort> #include -void std::__libcpp_verbose_abort(char const*, ...) noexcept { std::exit(EXIT_SUCCESS); } +void std::__libcpp_verbose_abort(char const*, ...) _NOEXCEPT { std::exit(EXIT_SUCCESS); } int main(int, char**) { std::__libcpp_verbose_abort("%s", "message");