aboutsummaryrefslogtreecommitdiff
path: root/js/test.proto
diff options
context:
space:
mode:
Diffstat (limited to 'js/test.proto')
-rw-r--r--js/test.proto8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/test.proto b/js/test.proto
index 5f9078ef..14418ac9 100644
--- a/js/test.proto
+++ b/js/test.proto
@@ -100,6 +100,13 @@ message Complex {
repeated string a_repeated_string = 7;
}
+message OuterMessage {
+ // Make sure this doesn't conflict with the other Complex message.
+ message Complex {
+ optional int32 inner_complex_field = 1;
+ }
+}
+
message IsExtension {
extend HasExtensions {
optional IsExtension ext_field = 100;
@@ -209,4 +216,3 @@ message TestMessageWithOneof {
int32 btwo = 13 [default = 1234];
}
}
-