aboutsummaryrefslogtreecommitdiff
path: root/proto/testdata/test.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/testdata/test.proto')
-rw-r--r--proto/testdata/test.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/testdata/test.proto b/proto/testdata/test.proto
index f1fbf2b..9c0c4c8 100644
--- a/proto/testdata/test.proto
+++ b/proto/testdata/test.proto
@@ -381,6 +381,9 @@ message Defaults {
// Sub-message.
optional SubDefaults sub = 18;
+
+ // Redundant but explicit defaults.
+ optional string str_zero = 19 [default=""];
}
message SubDefaults {