ftp.nice.ch/Attic/openStep/implementation/gnustep/sources/gstep-base-0.2.7.tgz#/gstep-base-0.2.7/checks/basic.m

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

#include <Foundation/NSObject.h>
#include <stdio.h>

int main ()
{
  id o = [NSObject new];
  printf ("Hello from object at 0x%x\n", (unsigned)[o self]);
  exit (0);
}

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