home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 355_03 / slk3.exe / TEST / TST / DUPL.TST < prev    next >
Text File  |  1989-02-18  |  416b  |  28 lines

  1. /*
  2.     Test of duplicate definition reporting.
  3.  
  4.     The symobol A should be defined on the command line, to see what 
  5.     happens.
  6. */
  7.  
  8. #define A something
  9.  
  10. #define B ok
  11. #define B ok
  12.  
  13. #define BAD one
  14. #define BAD bad
  15.  
  16. #define f1(a) one
  17. #define f1(a) one
  18.  
  19. #define f2_bad(a) one
  20. #define f2_bad(a,b) one
  21.  
  22. #define f3_bad(a) one
  23. #define f3_bad(a) bad
  24.  
  25. #include "\sherlock\sl.h"
  26.  
  27. #include "\sherlock\sl.h"
  28.