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 / csyntax.c < prev    next >
C/C++ Source or Header  |  1997-09-03  |  525b  |  36 lines

  1. enum opcode { ONE } ;
  2. struct sopcode { int x; } ;
  3. union  uopcode { int x; } ;
  4.  
  5. int f()
  6. {
  7.   int opcode = 1;
  8.   int sopcode = 2;
  9.   int uopcode = 3; 
  10.  
  11.   return opcode + sopcode + uopcode;
  12. }
  13.  
  14. struct stat_desc 
  15. {
  16.   short opcode;
  17.   enum opcode x;
  18. } ;
  19.  
  20. int main(register int x)
  21. {
  22.   return x;
  23. }
  24.  
  25. extern unsigned x();
  26. extern unsigned int y;
  27.  
  28. typedef char *cstring;
  29. extern cstring add_extension(cstring s, const cstring suffix);
  30.  
  31. typedef int filename;
  32. extern cstring filename;
  33.  
  34. extern int parseOpLine (cstring filename, cstring line);
  35.  
  36.