summaryrefslogtreecommitdiff
path: root/tests/headers/const_bool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/const_bool.hpp')
-rw-r--r--tests/headers/const_bool.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/headers/const_bool.hpp b/tests/headers/const_bool.hpp
new file mode 100644
index 00000000..633a7c90
--- /dev/null
+++ b/tests/headers/const_bool.hpp
@@ -0,0 +1,9 @@
+// bindgen-unstable
+
+const bool k = true;
+struct A {
+ static const bool k = false;
+};
+
+typedef bool foo;
+const foo k2 = true;