home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 357_01 / cstar1.exe / FUNC.TST < prev    next >
Text File  |  1991-11-15  |  291b  |  21 lines

  1. /* Test of function and array code generation. */
  2. main()
  3. {
  4.     int a, b, c, d;
  5.     int *p;
  6.     if (a) {
  7.         a = (a)(b);
  8.         a = a(b);
  9.         a = b;
  10.         a = (a)[b][c];
  11.         a = a(b, c, d);
  12.         a = a[b];
  13.         a = (*p)[b];
  14.         a = (*p)(b, c, d);
  15.         a = *b;
  16.         a = 3;
  17.         a = 5 * 5;
  18.         a = 16384 + 16384;
  19.     }
  20. }
  21.