testsuite, objective-c++ : GC is not available from Darwin16.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 7 Oct 2020 15:21:52 +0000 (16:21 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 11 Oct 2020 15:53:43 +0000 (16:53 +0100)
Update the dg-skip to cover newer systems.

gcc/testsuite/ChangeLog:

* obj-c++.dg/objc-gc-3.mm:i Skip for Darwin >= 16.

gcc/testsuite/obj-c++.dg/objc-gc-3.mm

index 68bebf8fc96d5dbe09274216c0678d977bfa74dd..45ffbc5553d0feeeee47d12aee26813af54ff251 100644 (file)
@@ -3,7 +3,7 @@
 /* Contributed by Ziemowit Laski <zlaski@apple.com>  */
 
 /* { dg-do compile } */
-/* { dg-skip-if "GC API is an error from Darwin16." { *-*-darwin1[6-8]* } { "-fnext-runtime" } { "" } } */
+/* { dg-skip-if "GC API is an error from Darwin16." { *-*-darwin1[6-9]* *-*-darwin2[0-9]* } { "-fnext-runtime" } { "" } } */
 /* { dg-options "-fobjc-gc" } */
 /* { dg-prune-output "cc1objplus: warning: '-fobjc-gc' is ignored for '-fgnu-runtime'" } */