diff options
Diffstat (limited to 'inttest/proto_gpb/proto.bad/bad.proto')
-rw-r--r-- | inttest/proto_gpb/proto.bad/bad.proto | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/inttest/proto_gpb/proto.bad/bad.proto b/inttest/proto_gpb/proto.bad/bad.proto new file mode 100644 index 0000000..ebe2274 --- /dev/null +++ b/inttest/proto_gpb/proto.bad/bad.proto @@ -0,0 +1,19 @@ +// -*- c-basic-offset: 4; indent-tabs-mode: nil -*- +// ex: ts=4 sw=4 et + +package test; + +service test +{ + rpc testRpc(RPC_INPUT) returns (RPC_OUTPUT); +} + +message RPC_INPUT + // bug introduced intentionally here + optional string str = 1; +} + +message RPC_OUTPUT +{ + optional string str = 1; +} |