Skip to content

Commit 93df584

Browse files
committed
wip desired test case
1 parent 72c5d6f commit 93df584

File tree

2 files changed

+36
-20
lines changed

2 files changed

+36
-20
lines changed

tests/expectations/tests/packed-align-conflict.rs

Lines changed: 29 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/headers/packed-align-conflict.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
struct FndrOpaqueInfo {
2-
char opaque[16];
1+
typedef unsigned char uint8_t;
2+
typedef unsigned short uint16_t;
3+
4+
struct B {
5+
uint8_t a;
6+
uint16_t b;
7+
uint8_t c;
38
} __attribute__((aligned(2), packed));

0 commit comments

Comments
 (0)