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" }
6 #ifdef __NEXT_RUNTIME__
7 #include <Foundation/NSString.h>
9 #include <objc/NXConstStr.h>
11 #include <objc/Object.h>
12 #include <objc/Protocol.h>
13 #ifdef __NEXT_RUNTIME__
14 #include <objc/objc-runtime.h>
15 #include <objc/objc-api.h>
17 #include <objc/runtime.h>
20 #include <objc/objc.h>
22 #ifndef __NEXT_RUNTIME__