blob: 5adfd6b2535a151e8a3eef8b88896687929d7600 [file] [log] [blame]
#import <Foundation/Foundation.h>
@interface MyClass: NSObject
{
/* secret! */
}
+ newWithArg: arg;
- takeArg: arg;
- randomFunc;
@end
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
id object = [MyClass newWithArg:@"hi there"];
[object randomFunc];
[pool release];
return 0;
}