summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/macro_const.h
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-11-15 14:29:46 +0100
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-11-16 00:47:11 +0100
commit824f99a67721584b43544ed561236e6bbec24fed (patch)
tree0810cc8c131c5054b26551b93e548fc76a7d6b2b /libbindgen/tests/headers/macro_const.h
parent91faa76c44acb863a8cf4a5237faa75ac21a8dee (diff)
Multiple constant generation evaluation improvements.
Diffstat (limited to 'libbindgen/tests/headers/macro_const.h')
-rw-r--r--libbindgen/tests/headers/macro_const.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/macro_const.h b/libbindgen/tests/headers/macro_const.h
new file mode 100644
index 00000000..c28a3f6b
--- /dev/null
+++ b/libbindgen/tests/headers/macro_const.h
@@ -0,0 +1,7 @@
+#define foo "bar"
+#define CHAR 'b'
+#define CHARR '\0'
+#define FLOAT 5.09f
+#define FLOAT_EXPR (5 / 1000.0f)
+
+#define INVALID_UTF8 "\xf0\x28\x8c\x28"