aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/test.proto
diff options
context:
space:
mode:
Diffstat (limited to 'js/test.proto')
-rw-r--r--js/test.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/test.proto b/js/test.proto
index 5f9078ef..3cea5f37 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;