ftp.nice.ch/Attic/openStep/developer/bundles/GDBbundle.1.0.s.tgz#/GDBbundle-1.0.s/debug/gdb/gdb/tests/catTest.m

This is catTest.m in view mode; [Download] [Up]

#import <objc/Object.h>

@interface Object (Foo)

-foo;

@end

@implementation Object (Foo)

-foo { return self; }

@end

void main()
{
    id foo = [Object new];
    
    [foo foo];
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.