diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-07 07:27:38 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-07 10:02:09 +0100 |
| commit | d2bde102ff975f30067203b5d039174d54a1b701 (patch) | |
| tree | b4f560eee64690a6acc58c46736e80f7dbddb77a /sys/test/exec.txt | |
| parent | c43471c3ac1d6cccf644d4ea3f696f3820ade17b (diff) | |
pkg/compiler: fix another bitfield layout bug
See the added test for details.
Diffstat (limited to 'sys/test/exec.txt')
| -rw-r--r-- | sys/test/exec.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/test/exec.txt b/sys/test/exec.txt index bf96f4b68..a2fb377cf 100644 --- a/sys/test/exec.txt +++ b/sys/test/exec.txt @@ -36,6 +36,7 @@ compare_data [ bf22 syz_bf_align[syz_bf_struct22] bf23 syz_bf_align[syz_bf_struct23] bf24 syz_bf_align[syz_bf_struct24] + bf25 syz_bf_align[syz_bf_struct25] str string blob array[int8] arr16be array[int16be] @@ -187,6 +188,15 @@ syz_bf_struct24 { f1 int64:4 } [packed] +syz_bf_struct25 { + f0 int16 + f1 int16:14 + f2 int16:1 + f3 int16:1 + f4 int16 + f5 void +} [packed, align_4] + type syz_bf_align[T] { f0 int8 f1 T |
