diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-02-17 16:51:52 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-02-17 19:02:12 +0100 |
| commit | dd4fcef5a270fc39a56c0be8122fc6f18314f3cd (patch) | |
| tree | c7d1dccb26b31dec062b7d493060b624c8a84f0f /pkg/compiler/testdata/all.txt | |
| parent | d21a39fc48c781b8bc818b537ed4bf495d5daa89 (diff) | |
pkg/compiler: allow len of var-len arrays
All netfilter subsystems use this unfortunately,
so demote this to a warning.
Diffstat (limited to 'pkg/compiler/testdata/all.txt')
| -rw-r--r-- | pkg/compiler/testdata/all.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/all.txt b/pkg/compiler/testdata/all.txt index 6f106a25f..2bf76c28b 100644 --- a/pkg/compiler/testdata/all.txt +++ b/pkg/compiler/testdata/all.txt @@ -42,6 +42,8 @@ type len_temp2[DATA] { } foo$len_templ(a ptr[in, len_templ1[int8, int16]]) +foo$len_var0(a ptr[in, array[string]], b len[a]) +foo$len_var1(a ptr[in, array[string]], b ptr[in, len[a, int32]]) # Void type. |
