Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/objc.dg/headers.m @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// Test for obscure conflicts with the system headers (inspired by similar // test in libstdc++-v3). Author: Loren J. Rittle <ljrittle@acm.org>. // { dg-options "-Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wshadow" } // { dg-do compile } /* { dg-xfail-if "PR90709" { *-*-darwin1[4-9]* } { "-fnext-runtime" } { "" } } */ #ifdef __NEXT_RUNTIME__ #include <Foundation/NSString.h> #else #include <objc/NXConstStr.h> #endif #include <objc/Object.h> #include <objc/Protocol.h> #ifdef __NEXT_RUNTIME__ #include <objc/objc-runtime.h> #include <objc/objc-api.h> #else #include <objc/runtime.h> #endif #include <objc/objc.h> #ifndef __NEXT_RUNTIME__ #include <objc/thr.h> #endif