public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-3796] testsuite, Objective-C++ : Skip an ancient test on newer systems.
@ 2020-10-11 15:46 Iain D Sandoe
0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2020-10-11 15:46 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6b468b7556fd96cf5bdc56ae30131980a3d596ae
commit r11-3796-g6b468b7556fd96cf5bdc56ae30131980a3d596ae
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Wed Oct 7 16:20:48 2020 +0100
testsuite, Objective-C++ : Skip an ancient test on newer systems.
This test contains elements incompatible with modern Objective-C
headers, it is only of relevance to Darwin8 or potentially on systems
with SDKs that could target Darwin8, so skip it on newer systems.
gcc/testsuite/ChangeLog:
* obj-c++.dg/cxx-ivars-3.mm: Skip for macOS >= 10.7.
Diff:
---
gcc/testsuite/obj-c++.dg/cxx-ivars-3.mm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/obj-c++.dg/cxx-ivars-3.mm b/gcc/testsuite/obj-c++.dg/cxx-ivars-3.mm
index 18b671d122a..07123559d72 100644
--- a/gcc/testsuite/obj-c++.dg/cxx-ivars-3.mm
+++ b/gcc/testsuite/obj-c++.dg/cxx-ivars-3.mm
@@ -2,14 +2,14 @@
// { dg-do run { target *-*-darwin* } }
// { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } }
-// { dg-skip-if "Headers incompatible with 10.4 APIs" { *-*-darwin1[3-8]* } { "-fnext-runtime" } { "" } }
+// { dg-skip-if "Headers incompatible with 10.4 APIs" { *-*-darwin1[1-9]* *-*-darwin2[0-9]* } { "-fnext-runtime" } { "" } }
// { dg-additional-options "-fobjc-call-cxx-cdtors -mmacosx-version-min=10.4 -framework Foundation" }
// This test has no equivalent or meaning for m64/ABI V2
// { dg-xfail-run-if "No Test Avail" { *-*-darwin* && lp64 } { "-fnext-runtime" } { "" } }
-#include <objc/objc-runtime.h>
#include <stdlib.h>
#include "../objc-obj-c++-shared/F-NSObject.h"
+#include <objc/objc-runtime.h>
//extern "C" { int printf(const char *,...); }
#define CHECK_IF(expr) if(!(expr)) abort()
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-11 15:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-11 15:46 [gcc r11-3796] testsuite, Objective-C++ : Skip an ancient test on newer systems Iain D Sandoe
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).