From 2e9037c55f6a3308190ab4eb0ce110dddc7a6f2b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 17 Mar 2020 14:32:13 +0100 Subject: 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. --- sys/test/test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/test/test.txt') 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] -- cgit mrf-deployment