summaryrefslogtreecommitdiff
path: root/tests/test-marshallers.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-marshallers.proto')
-rw-r--r--tests/test-marshallers.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test-marshallers.proto b/tests/test-marshallers.proto
index eabd487..6ca2d4c 100644
--- a/tests/test-marshallers.proto
+++ b/tests/test-marshallers.proto
@@ -24,6 +24,17 @@ channel TestChannel {
uint32 dummy[2];
uint8 data[] @end;
} LenMessage;
+
+ message {
+ uint8 txt1[4] @zero_terminated;
+ uint8 sep1;
+ uint32 txt2_len;
+ uint8 *txt2[txt2_len] @zero_terminated;
+ uint8 txt3[txt2_len] @to_ptr @zero_terminated;
+ uint32 n;
+ uint16 txt4_len;
+ uint8 txt4[txt4_len] @end @zero_terminated;
+ } @declare ZeroLen1;
};
protocol Spice {