public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] AIX xfail for_overwrite.cc libstdc++ testcase
@ 2020-10-30  1:51 David Edelsohn
  0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2020-10-30  1:51 UTC (permalink / raw)
  To: GCC Patches, libstdc++

The 20_util/unique_ptr/creation/for_overwrite.cc test relies on
operator new, which requires special features on AIX.  This patch
disables the testcase.

Thanks, David

--- a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/for_overwrite.cc
+++ b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/for_overwrite.cc
@@ -1,5 +1,6 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++2a } }
+// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } }

 // Copyright (C) 2020 Free Software Foundation, Inc.
 //

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-30  1:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30  1:51 [PATCH] AIX xfail for_overwrite.cc libstdc++ testcase David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).