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 / alttypes.c < prev    next >
C/C++ Source or Header  |  1997-09-03  |  236b  |  24 lines

  1. int /*@alt void@*/ f (void) ;
  2.  
  3. int f (void)
  4. {
  5.   return 3;
  6. }
  7.  
  8. int g (void)
  9. {
  10.   f ();
  11.  
  12.   return 4;
  13. }
  14.  
  15. int /*@alt void@*/ f2 (void) ;
  16.  
  17. int /*@alt bool@*/ f2 (void) 
  18. {
  19.   return 3;
  20. }
  21.  
  22. extern int /*@alt char, bool@*/ x;
  23. int /*@alt char@*/ x;
  24.