Aleksa Sarai
f23d4ee6e8
tests: add tests for #[repr(packed)] and #[repr(align(...))]
...
The tests are very straightforward, and effecitvely are just ensuring
that the formatting works correctly and is included in all of the
important cases.
It's also very important to ensure we do not generate laid-out structs
for layouts which we cannot reasonably represent in C (such as in cases
where we weren't told what annotation to use for packed and
specifically-aligned structures). Thus, add some tests to verify that
this is the case.
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com >
2019-12-15 11:52:23 +01:00
..
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-08 12:34:59 +01:00
2019-12-08 12:34:59 +01:00
2019-12-08 12:34:59 +01:00
2019-12-08 12:34:59 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-08 12:34:59 +01:00
2019-12-08 12:34:59 +01:00
2019-06-08 19:27:58 +09:00
2019-06-08 19:27:58 +09:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-06-08 19:27:58 +09:00
2019-06-08 19:27:58 +09:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-02-06 10:49:19 -06:00
2019-06-01 10:57:52 +09:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-15 11:52:23 +01:00
2019-12-15 11:52:23 +01:00
2019-12-15 11:52:23 +01:00
2019-12-15 11:52:23 +01:00
2019-12-15 11:52:23 +01:00
2019-12-15 11:52:23 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2018-10-01 16:53:09 -05:00
2019-06-01 10:59:47 +09:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-08 12:34:59 +01:00
2019-12-08 12:34:59 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00
2019-12-04 00:03:38 +01:00