X-Git-Url: https://git.saurik.com/apple/objc4.git/blobdiff_plain/7c0e6487d7b67b6bf6c632300ee4b74e8950b051..7af964d1562d70f51a8e9aca24215ac3d83d0624:/test/unload4.m diff --git a/test/unload4.m b/test/unload4.m new file mode 100644 index 0000000..d3361b1 --- /dev/null +++ b/test/unload4.m @@ -0,0 +1,8 @@ +// unload4: contains some objc metadata other than imageinfo +// libobjc must keep it open + +#if __OBJC2__ +int fake2 __attribute__((section("__DATA,__objc_foo"))) = 0; +#else +int fake2 __attribute__((section("__OBJC,__foo"))) = 0; +#endif