diff options
Diffstat (limited to 'pkg/compiler/testdata')
| -rw-r--r-- | pkg/compiler/testdata/all.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/all.txt b/pkg/compiler/testdata/all.txt index 88e45dba4..8bd81c7d4 100644 --- a/pkg/compiler/testdata/all.txt +++ b/pkg/compiler/testdata/all.txt @@ -29,6 +29,20 @@ proc_struct1 { f1 proc[C0, 8, int8] } +# Len/bytesize types. + +type len_templ1[DATA1, DATA2] { + data DATA1 + inner len_temp2[DATA2] +} + +type len_temp2[DATA] { + data DATA + len len[len_templ1, int8] +} + +foo$len_templ(a ptr[in, len_templ1[int8, int16]]) + # Void type. void0 { |
