Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/objc.dg/headers.m @ 124:c3a50d7877e8
fix ipa-inline.c
author | mir3636 |
---|---|
date | Sat, 31 Mar 2018 17:18:55 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
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 } #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