aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-11-14 21:16:37 +0000
committerIain Sandoe <iain@sandoe.co.uk>2020-11-14 21:20:46 +0000
commit406b452dc0e1254684365e3cec026258a39ba6c1 (patch)
tree28a5f884ff3c5a0e4f1efe0808f7777b39d03f40 /gcc
parentb1cd56a43da8bae4e2ab5d8f930753de2086912d (diff)
downloadgcc-406b452dc0e1254684365e3cec026258a39ba6c1.zip
gcc-406b452dc0e1254684365e3cec026258a39ba6c1.tar.gz
gcc-406b452dc0e1254684365e3cec026258a39ba6c1.tar.bz2
testsuite, Objective-C : Amend PR23214 for Darwin11.
The test needs to use Object rather than NSObject on this and earlier OS versions. Although the PR reports against the GNU runtime, we run this on NeXT as well. gcc/testsuite/ChangeLog: * objc.dg/pr23214.m: Use Object as the root object before Darwin12 (and NSObject after).
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/objc.dg/pr23214.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/objc.dg/pr23214.m b/gcc/testsuite/objc.dg/pr23214.m
index 341a283..56cdc02 100644
--- a/gcc/testsuite/objc.dg/pr23214.m
+++ b/gcc/testsuite/objc.dg/pr23214.m
@@ -7,7 +7,7 @@
#if defined (__NEXT_RUNTIME__) && defined(__OBJC2__) \
&& defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) \
- && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1070
+ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1080
#include <objc/Protocol.h>
#define OBJECT NSObject
#else