]> git.saurik.com Git - apple/objc4.git/blobdiff - test/unload2.m
objc4-680.tar.gz
[apple/objc4.git] / test / unload2.m
index 6722bf29ec54e2caa854faeb757388e40bf8f4ef..16ac0cacb299f1b6282849cdb4e87b1750a2ec59 100644 (file)
@@ -15,6 +15,12 @@ OBJC_ROOT_CLASS
 @implementation UnusedClass @end
 
 
-@implementation SmallClass (Category) 
+@protocol SmallProtocol
+-(void)unload2_category_method;
+@end
+
+@interface SmallClass (Category) <SmallProtocol> @end
+
+@implementation SmallClass (Category)
 -(void)unload2_category_method { }
 @end