summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/macro-expr-uncommon-token.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/macro-expr-uncommon-token.h')
-rw-r--r--bindgen-tests/tests/headers/macro-expr-uncommon-token.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/macro-expr-uncommon-token.h b/bindgen-tests/tests/headers/macro-expr-uncommon-token.h
new file mode 100644
index 00000000..dd1b4343
--- /dev/null
+++ b/bindgen-tests/tests/headers/macro-expr-uncommon-token.h
@@ -0,0 +1,7 @@
+
+// Commenting this out & removing the usage before `foo` results in the correct
+// bindings
+#define MODBUS_API
+#define MODBUS_WOOT 3
+
+MODBUS_API void foo();