diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-03-02 16:14:57 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-03-05 12:10:27 +0100 |
| commit | 002cecf2022de3ab01c87f905477aa3b063d73fc (patch) | |
| tree | 674ee06d247de287e04017600f7fc52dc7ba58ec /sys/test/test.txt | |
| parent | 5ef8dbdf5a63ccf7e069527dbb2493dc2ef0c319 (diff) | |
pkg/compiler: allow specifying static size for filename's
Sometimes filenames are embed into structs and need to take fixed space.
Diffstat (limited to 'sys/test/test.txt')
| -rw-r--r-- | sys/test/test.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/test/test.txt b/sys/test/test.txt index ca548d073..9c074d217 100644 --- a/sys/test/test.txt +++ b/sys/test/test.txt @@ -409,11 +409,20 @@ explicitly_sized_union [ f1 int8 ] [size[42]] +static_filename { + f1 filename[10] + f2 filename[20] + f3 bytesize[f1, int8] + f4 bytesize[f2, int8] + f5 bytesize[parent, int8] +} + syz_test$length24(a ptr[in, len_nontemp5]) syz_test$length25(a0 ptr[in, array[array[int8]]], a1 len[a0]) syz_test$length26(a ptr[in, len_unaligned], b bytesize[a]) syz_test$length27(a0 ptr[in, explicitly_sized], a1 len[a0]) syz_test$length28(a0 ptr[in, explicitly_sized_union], a1 len[a0]) +syz_test$length29(a ptr[in, static_filename]) # Big endian |
