aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-07-22 19:00:04 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-07-22 19:00:04 +0300
commitba40cacd3c4a60ccc9108d6acf7e813b1757dfd1 (patch)
tree883d44d8fd5f6d210ddf8e48748676f035f60792 /tests/extensions.proto
parent1f13e8cd2c5bb091677f35e53ae5757774e7d1ba (diff)
Finish the testcase for extensions
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;
+}
+