2 * Contributed by Nicola Pero <nicola@brainstorm.co.uk>
3 * Fri Feb 2 11:48:01 GMT 2001
7 #include <objc/Object.h>
8 #include <objc/Protocol.h>
11 + (bycopy id<MyProtocol>) bycopyMethod;
14 @interface MyObject : Object <MyProtocol>
17 @implementation MyObject
18 + (bycopy id<MyProtocol>) bycopyMethod
20 return [MyObject alloc];
28 object = [MyObject bycopyMethod];