1 #define ABC abc
   2 #undef ABC
   3 
   4 #define DEF def
   5 #undef DEF
   6 #define DEF xyz
   7 
   8 #define NYDEF ydef
   9 /*
  10  * check-name: dump-macros
  11  * check-command: sparse -E -dD -DIJK=ijk -UNDEF -UNYDEF $file
  12  *
  13  * check-output-ignore
  14 check-output-pattern-1-times: #define __CHECKER__ 1
  15 check-output-contains: #define IJK ijk
  16 check-output-contains: #define DEF xyz
  17 check-output-contains: #define NYDEF ydef
  18  */