summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/struct_with_packing.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/headers/struct_with_packing.h')
-rw-r--r--libbindgen/tests/headers/struct_with_packing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/struct_with_packing.h b/libbindgen/tests/headers/struct_with_packing.h
new file mode 100644
index 00000000..1b9fe131
--- /dev/null
+++ b/libbindgen/tests/headers/struct_with_packing.h
@@ -0,0 +1,4 @@
+struct a {
+ char b;
+ short c;
+} __attribute__((packed));