diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-09-21 00:39:14 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-09-21 08:44:21 +0100 |
commit | d784c5cfe694fe8d5620504ae45ceaebb3cc9f7c (patch) | |
tree | 42d8b25fedda46c95f2999bfb2083d3aff5abe21 | |
parent | 26cb69f8b4b9fb46444d164c8edcb73ac5fb2c47 (diff) | |
download | gcc-d784c5cfe694fe8d5620504ae45ceaebb3cc9f7c.zip gcc-d784c5cfe694fe8d5620504ae45ceaebb3cc9f7c.tar.gz gcc-d784c5cfe694fe8d5620504ae45ceaebb3cc9f7c.tar.bz2 |
libstdc++: Qualify std::abort() in test
This test includes <cstdlib> so should use std::abort not ::abort.
libstdc++-v3/ChangeLog:
* testsuite/18_support/uncaught_exception/14026.cc: Qualify
call to std::abort.
-rw-r--r-- | libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc b/libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc index 22d4a90..bd281b9 100644 --- a/libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc +++ b/libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc @@ -28,7 +28,7 @@ static void no_uncaught () { if (std::uncaught_exception()) - abort(); + std::abort(); } int |