summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/only_bitfields.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/headers/only_bitfields.hpp')
-rw-r--r--libbindgen/tests/headers/only_bitfields.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/only_bitfields.hpp b/libbindgen/tests/headers/only_bitfields.hpp
new file mode 100644
index 00000000..84db0586
--- /dev/null
+++ b/libbindgen/tests/headers/only_bitfields.hpp
@@ -0,0 +1,5 @@
+// bindgen-flags: --no-unstable-rust
+class C {
+ bool a: 1;
+ bool b: 7;
+};