summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/enum_alias.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/headers/enum_alias.hpp')
-rw-r--r--libbindgen/tests/headers/enum_alias.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/enum_alias.hpp b/libbindgen/tests/headers/enum_alias.hpp
new file mode 100644
index 00000000..658f8fde
--- /dev/null
+++ b/libbindgen/tests/headers/enum_alias.hpp
@@ -0,0 +1,7 @@
+// bindgen-flags: -- -std=c++11
+
+typedef unsigned char uint8_t;
+
+enum Bar : uint8_t {
+ VAL
+};