home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / GCC 1.37.1r15 / Tests / enum.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-05  |  120 b   |  12 lines  |  [TEXT/MPS ]

  1. enum {
  2.     foo,
  3.     bar = 23,
  4.     baz1 = 0xffffffff,
  5.     baz2 = -0x1
  6. };
  7.  
  8. main()
  9. {
  10.     printf("%d %d %d %d\n", foo, bar, baz1, baz2);
  11. }
  12.