diff options
Diffstat (limited to 'tests/headers/macro-expr-basic.h')
-rw-r--r-- | tests/headers/macro-expr-basic.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/headers/macro-expr-basic.h b/tests/headers/macro-expr-basic.h new file mode 100644 index 00000000..55b11367 --- /dev/null +++ b/tests/headers/macro-expr-basic.h @@ -0,0 +1,12 @@ +#define FOO 1 +#define BAR 4 +#define BAZ (FOO + BAR) + +#define BARR (1 << 0) +#define BAZZ ((1 << 1) + BAZ) +#define I_RAN_OUT_OF_DUMB_NAMES (BARR | BAZZ) + +/* I haz a comment */ +#define HAZ_A_COMMENT BARR + +#define HAZ_A_COMMENT_INSIDE (/* comment for real */ BARR + FOO) |