]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Qualify std::abort() in test
authorJonathan Wakely <jwakely@redhat.com>
Tue, 20 Sep 2022 23:39:14 +0000 (00:39 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 21 Sep 2022 07:44:21 +0000 (08:44 +0100)
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.

libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc

index 22d4a90d49e69b2e36fc6abc1eea66cc8e1962ec..bd281b971744d5ffad1ad4775d64b88959359011 100644 (file)
@@ -28,7 +28,7 @@ static void
 no_uncaught ()
 {
   if (std::uncaught_exception())
-    abort();
+    std::abort();
 }
 
 int