// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include <stdlib.h>

#include "Example.h"

int main(int argc,char *argv[])
{
   P1 *p1 = new P1();
   p1->foobar();
   P2 *p2 = new P2();
   p2->foobar();
   C1 *c1 = new C1();
   c1->foobar();
   C2 *c2 = new C2();
   c2->foobar();
   P1 *m1 = new C1();
   m1->foobar();
   P2 *m2 = new C2();
   m2->foobar();
   exit(EXIT_SUCCESS);
}
