From b83da2729fc83663f979da05201920e039ae3c3f Mon Sep 17 00:00:00 2001 From: Emilio Cobos Álvarez Date: Sun, 22 Jan 2017 12:58:12 +0100 Subject: Unify under the `bindgen` name. --- tests/headers/macro-expr-basic.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/headers/macro-expr-basic.h (limited to 'tests/headers/macro-expr-basic.h') diff --git a/tests/headers/macro-expr-basic.h b/tests/headers/macro-expr-basic.h new file mode 100644 index 00000000..d2de7fdf --- /dev/null +++ b/tests/headers/macro-expr-basic.h @@ -0,0 +1,14 @@ +#define FOO 1 +#define BAR 4 +#define BAZ (FOO + BAR) + +#define MIN (1 << 63) + +#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) -- cgit v1.2.3