Skip to content

Commit 5dd7648

Browse files
yshuiemilio
authored andcommitted
add a test case for issue #2695
1 parent 5ac0381 commit 5dd7648

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

Diff for: bindgen-tests/tests/expectations/tests/issue-2695.rs

+45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bindgen-tests/tests/headers/issue-2695.h

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// bindgen-flags: --explicit-padding
2+
3+
#pragma pack(2)
4+
5+
struct Test {
6+
unsigned long x;
7+
char a;
8+
char b;
9+
char c;
10+
};

0 commit comments

Comments
 (0)