home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lclint.zip / lclint-2_3h-os2-bin.zip / test / enum.lcl < prev    next >
Text File  |  1997-09-03  |  317b  |  8 lines

  1. typedef enum { one, two, three } etype; 
  2. typedef enum { cero, uno, dos } stype; 
  3. typedef enum _ietag { siete } itype; /* 11. enum _ietag specified but not defined */
  4.  
  5. typedef struct { int a; int b; } st;
  6. typedef struct { int a; int b; int c; } st2; /* (5. Field  present in spec...) */
  7.  
  8. enum { hasta, pasta, yasta } ;