From 2b21a445652488099a64067e13b98576f78f0363 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Mon, 24 Jul 2017 15:05:08 +0200 Subject: prog: return error instead of panic when parsing --- sys/test.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sys/test.txt') diff --git a/sys/test.txt b/sys/test.txt index 5072cff97..af664e4d6 100644 --- a/sys/test.txt +++ b/sys/test.txt @@ -95,6 +95,19 @@ syz_align6 { f1 array[int32] } +# Structs + +syz_test$struct(a0 ptr[in, syz_struct0]) + +syz_struct0 { + f0 int64 + f1 syz_struct1 +} + +syz_struct1 { + f0 int8 +} + # Unions syz_test$union0(a0 ptr[in, syz_union0_struct]) -- cgit mrf-deployment