blob: 5a9646496717fbc8ffe5eec71cd80fbb4b9a2d22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#define ABC abc
#undef ABC
#define DEF def
#undef DEF
#define DEF xyz
#define NYDEF ydef
#define STRING(x) #x
#define CONCAT(x,y) x ## y
/*
* check-name: dump-macros
* check-command: sparse -E -dD -DIJK=ijk -UNDEF -UNYDEF $file
*
* check-output-ignore
check-output-pattern(1): #define __CHECKER__ 1
check-output-contains: #define IJK ijk
check-output-contains: #define DEF xyz
check-output-contains: #define NYDEF ydef
check-output-contains: #define STRING(x) #x
check-output-contains: #define CONCAT(x, y) x ## y
*/
|