diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-01-23 11:05:51 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-01-23 11:05:51 +0100 |
| commit | 14d1e424b6a582d021c73c88e1f0c5f0962ecc9d (patch) | |
| tree | 0fdc71b6e0de2576ae330f145a51f9c016ad81a2 /pkg/compiler/testdata | |
| parent | de3e24c4b6cd0136618ce74eb025a15d4834c082 (diff) | |
pkg/compiler: allow use of empty strings
This comes up in several contexts in netfilter.
Diffstat (limited to 'pkg/compiler/testdata')
| -rw-r--r-- | pkg/compiler/testdata/all.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkg/compiler/testdata/all.txt b/pkg/compiler/testdata/all.txt index 088e119ef..88e45dba4 100644 --- a/pkg/compiler/testdata/all.txt +++ b/pkg/compiler/testdata/all.txt @@ -9,12 +9,19 @@ strings { f1 string f2 string["foo"] f3 string["foo", 10] - f4 string[string_flags, 10] + f4 string[string_flags1, 10] f5 stringnoz f6 stringnoz["foo"] + f7 string[""] + f8 string["", 10] + f9 stringnoz[""] + f11 stringnoz[string_flags1] + f12 string[string_flags2] + f13 stringnoz[string_flags2] } [packed] -string_flags = "foo", "barbaz" +string_flags1 = "foo", "barbaz" +string_flags2 = "" # Proc type. |
