includes.c 1.1 KB

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