Index: third_party/protobuf/js/test.proto |
diff --git a/third_party/protobuf/js/test.proto b/third_party/protobuf/js/test.proto |
index 5f9078ef3f3214a38984dca7ddb85c6e66f774f8..6b9dc89113feee0a5950a88df119af223df77f87 100644 |
--- a/third_party/protobuf/js/test.proto |
+++ b/third_party/protobuf/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; |
@@ -138,6 +145,17 @@ message DefaultValues { |
optional bytes bytes_field = 8 [default="moo"]; // Base64 encoding is "bW9v" |
} |
+message FloatingPointFields { |
+ optional float optional_float_field = 1; |
+ required float required_float_field = 2; |
+ repeated float repeated_float_field = 3; |
+ optional float default_float_field = 4 [default = 2.0]; |
+ optional double optional_double_field = 5; |
+ required double required_double_field = 6; |
+ repeated double repeated_double_field = 7; |
+ optional double default_double_field = 8 [default = 2.0]; |
+} |
+ |
message TestClone { |
optional string str = 1; |
optional Simple1 simple1 = 3; |