aboutsummaryrefslogtreecommitdiff
path: root/proto/testdata/test.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/testdata/test.proto')
-rw-r--r--proto/testdata/test.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/testdata/test.proto b/proto/testdata/test.proto
index 4f4b3d1..f1fbf2b 100644
--- a/proto/testdata/test.proto
+++ b/proto/testdata/test.proto
@@ -203,6 +203,8 @@ message OldMessage {
optional string name = 1;
}
optional Nested nested = 1;
+
+ optional int32 num = 2;
}
// NewMessage is wire compatible with OldMessage;
@@ -213,6 +215,9 @@ message NewMessage {
optional string food_group = 2;
}
optional Nested nested = 1;
+
+ // This is an int32 in OldMessage.
+ optional int64 num = 2;
}
// Smaller tests for ASCII formatting.