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>
16 #include <objc/encoding.h>
17 #include <objc/hash.h>
20 #include <objc/objc-api.h>
21 #ifndef __NEXT_RUNTIME__
22 #include <objc/objc-list.h>
25 #include <objc/objc.h>
27 #ifndef __NEXT_RUNTIME__
28 #include <objc/sarray.h>
30 #include <objc/typedstream.h>