2 To test -weak-l or -weak-framework:
5 * -UEMPTY when building the weak-not-missing library
6 * -DEMPTY= when building the weak-missing library
8 To test attribute((weak_import)):
9 * -DWEAK_IMPORT=__attribute__((weak_import))
11 * -UEMPTY when building the weak-not-missing library
12 * -DEMPTY= when building the weak-missing library
17 #include <objc/runtime.h>
21 WEAK_IMPORT OBJC_ROOT_CLASS
22 @interface MissingRoot
{
33 @interface
MissingRoot (RR
)
39 @interface MissingSuper
: MissingRoot
{
46 @interface NotMissingRoot
{
57 @interface
NotMissingRoot (RR
)
62 @interface NotMissingSuper
: NotMissingRoot
{