diff options
Diffstat (limited to 'tests/prototest/test_union_suffix.golden')
-rw-r--r-- | tests/prototest/test_union_suffix.golden | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/tests/prototest/test_union_suffix.golden b/tests/prototest/test_union_suffix.golden new file mode 100644 index 00000000..0b0f9203 --- /dev/null +++ b/tests/prototest/test_union_suffix.golden @@ -0,0 +1,63 @@ +// Generated from test.proto + +namespace proto.test.test_namespace_suffix; + +/// Enum doc comment. +enum ProtoEnum : int { + NUL = 0, + FOO = 1, + /// Enum 2nd value doc comment misaligned. + BAR = 5, +} + +namespace proto.test.test_namespace_suffix.ProtoMessage_; + +union RUnion { + /// doc comment for s. + proto.test.test_namespace_suffix.ImportedMessage, + /// doc comment for t on 2 + /// lines. + proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage, +} + +namespace proto.test.test_namespace_suffix; + +table ImportedMessage { + a:int; +} + +/// 2nd table doc comment with +/// many lines. +table ProtoMessage { + c:int = 16; + d:long; + p:uint; + e:ulong; + /// doc comment for f. + f:int = -1; + g:long; + h:uint; + q:ulong; + i:int; + j:long; + /// doc comment for k. + k:bool; + /// doc comment for l on 2 + /// lines + l:string (required); + m:[ubyte]; + n:proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage; + o:[string]; + z:proto.test.test_namespace_suffix.ImportedMessage; + /// doc comment for r. + r:proto.test.test_namespace_suffix.ProtoMessage_.RUnion; +} + +namespace proto.test.test_namespace_suffix.ProtoMessage_; + +table OtherMessage { + a:double; + /// doc comment for b. + b:float = 3.14149; +} + |