summaryrefslogtreecommitdiffstats
path: root/tests/extensions.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extensions.proto')
-rw-r--r--tests/extensions.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/extensions.proto b/tests/extensions.proto
index 12c7c9a5..cbffdce6 100644
--- a/tests/extensions.proto
+++ b/tests/extensions.proto
@@ -3,3 +3,13 @@ import 'alltypes.proto';
extend AllTypes {
optional int32 AllTypes_extensionfield1 = 255;
}
+
+message ExtensionMessage {
+ extend AllTypes {
+ optional ExtensionMessage AllTypes_extensionfield2 = 254;
+ }
+
+ required string test1 = 1;
+ required int32 test2 = 2;
+}
+