]> git.saurik.com Git - apple/objc4.git/blob - test/includes.c
objc4-756.2.tar.gz
[apple/objc4.git] / test / includes.c
1 // TEST_CONFIG
2
3 // Verify that all headers can be included in any language.
4 // See also test/include-warnings.c which checks for warnings in these headers.
5 // See also test/includes-objc2.c which checks for safety even if
6 // the client is C code that defined __OBJC2__.
7
8 #ifndef NAME
9 #define NAME "includes.c"
10 #endif
11
12 #include <objc/objc.h>
13
14 #include <objc/List.h>
15 #include <objc/NSObjCRuntime.h>
16 #include <objc/NSObject.h>
17 #include <objc/Object.h>
18 #include <objc/Protocol.h>
19 #include <objc/message.h>
20 #include <objc/objc-api.h>
21 #include <objc/objc-auto.h>
22 #include <objc/objc-class.h>
23 #include <objc/objc-exception.h>
24 #include <objc/objc-load.h>
25 #include <objc/objc-runtime.h>
26 #include <objc/objc-sync.h>
27 #include <objc/runtime.h>
28
29 #include <objc/objc-abi.h>
30 #include <objc/objc-gdb.h>
31 #include <objc/objc-internal.h>
32
33 #if TARGET_OS_OSX
34 #include <objc/hashtable.h>
35 #include <objc/hashtable2.h>
36 #include <objc/maptable.h>
37 #endif
38
39 #pragma clang diagnostic push
40 #pragma clang diagnostic ignored "-Weverything"
41 #include "test.h"
42 #pragma clang diagnostic pop
43
44 int main()
45 {
46 succeed(NAME);
47 }