diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-11-14 21:16:37 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-11-14 21:20:46 +0000 |
commit | 406b452dc0e1254684365e3cec026258a39ba6c1 (patch) | |
tree | 28a5f884ff3c5a0e4f1efe0808f7777b39d03f40 /gcc | |
parent | b1cd56a43da8bae4e2ab5d8f930753de2086912d (diff) | |
download | gcc-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.m | 2 |
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 |