1 // Test for obscure conflicts with the system headers (inspired by similar
2 // test in libstdc++-v3). Author: Loren J. Rittle <ljrittle@acm.org>.
3 // { dg-options "-Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wshadow" }
5 /* { dg-xfail-if "PR90709" { *-*-darwin1[4-9]* } { "-fnext-runtime" } { "" } } */
7 #ifdef __NEXT_RUNTIME__
8 #include <Foundation/NSString.h>
10 #include <objc/NXConstStr.h>
12 #include <objc/Object.h>
13 #include <objc/Protocol.h>
14 #ifdef __NEXT_RUNTIME__
15 #include <objc/objc-runtime.h>
16 #include <objc/objc-api.h>
18 #include <objc/runtime.h>
21 #include <objc/objc.h>
23 #ifndef __NEXT_RUNTIME__