ftp.nice.ch/pub/next/developer/resources/libraries/libcoll.940725.s.tar.gz#/libcoll-940725/checks/test06.m

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

#include <coll/coll.h>

#define N 20

int main()
{
  int i;

  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.