This is test6.m in view mode; [Download] [Up]
#include <coll/coll.h> #define N 20 main() { int i; short s, s1, s2; Array* array = [[Array alloc] init]; for (i = 0; i < N; i++) { [array addObject:[[Object alloc] init]]; } [array makeObjectsPerform:@selector(name)]; [[array objectAtIndex:0] hash]; [[array freeObjects] free]; printf("no errors\n"); exit(0); }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.