diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-03-17 14:32:13 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-03-17 21:19:13 +0100 |
| commit | 2e9037c55f6a3308190ab4eb0ce110dddc7a6f2b (patch) | |
| tree | 7f97740e9d496a53a990d88a41405e67b8d4af44 /sys/test/test.txt | |
| parent | 0bcbb36f9fff81ac0bff9ec0959b9ea4c444a700 (diff) | |
pkg/compiler: check that const values fit into base type
const[0x12345678, int8] is always an error, detect these cases.
Found some bugs in mptcp, socket proto and fuchsia fidl descriptions.
Diffstat (limited to 'sys/test/test.txt')
| -rw-r--r-- | sys/test/test.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/test/test.txt b/sys/test/test.txt index 3b9b1d71d..21ae877e1 100644 --- a/sys/test/test.txt +++ b/sys/test/test.txt @@ -554,7 +554,7 @@ syz_bf_flags = 0, 1, 2 syz_bf_struct0 { f0 flags[syz_bf_flags, int16:10] f1 int64 - f2 const[0x42, int16:5] + f2 const[0x2, int16:5] f3 int16:6 f4 const[0x42, int32:15] f5 len[parent, int16:11] |
