Skip to content

Commit

Permalink
customize_verbose_abort.link-time.pass.cpp: Use _NOEXCEPT so as not t…
Browse files Browse the repository at this point in the history
…o be noexcept in C++03.
  • Loading branch information
Doug Wyatt committed Oct 5, 2024
1 parent afbbb98 commit 6484137
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <__verbose_abort>
#include <cstdlib>

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");
Expand Down

0 comments on commit 6484137

Please sign in to comment.