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