diff --git a/test/regress.rpc b/test/regress.rpc new file mode 100644 index 00000000..7bc6b75d --- /dev/null +++ b/test/regress.rpc @@ -0,0 +1,17 @@ +/* tests data packing and unpacking */ + +struct msg { + string from_name = 1; + string to_name = 2; + optional struct[kill] kill = 3; + array struct[run] run = 4; +} + +struct kill { + string weapon = 1; + string action = 2; +} + +struct run { + string how = 1; +}