aboutsummaryrefslogtreecommitdiffstats
path: root/sys/test.txt
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2017-07-24 16:43:50 +0200
committerGitHub <noreply@github.com>2017-07-24 16:43:50 +0200
commit6bbb0ce7e4e15656bb20f434583cc56e2acb492e (patch)
tree9624bcd0cecae843b31216fa5de7978d6d675572 /sys/test.txt
parent1e06f3e00fe12ed48282e1c896f57b0c2874eb44 (diff)
parent2b21a445652488099a64067e13b98576f78f0363 (diff)
Merge pull request #297 from xairy/up-fix-enconding
prog: return error instead of panic when parsing
Diffstat (limited to 'sys/test.txt')
-rw-r--r--sys/test.txt13
1 files changed, 13 insertions, 0 deletions
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])