mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-25 03:44:04 +08:00
testsuite, Objective-C : Update a test for newer OS versions.
Objective-C GC is not available for any recent Darwin version, nor is it available for the upcoming release of Darwin20. gcc/testsuite/ChangeLog: * objc.dg/objc-gc-4.m: Disable for macOS 10.15 and 11.x.
This commit is contained in:
parent
67f984d62e
commit
f2ac4fc035
@ -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 "cc1obj: warning: '-fobjc-gc' is ignored for '-fgnu-runtime'" } */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user