aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/map_unittest.proto
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-25 14:01:44 -0800
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-25 14:01:44 -0800
commit6ae3bde73dd9090712e22986afe866229e61d305 (patch)
tree91175cad07b13034c3a9b574ca19182093a26653 /src/google/protobuf/map_unittest.proto
parent7f3a25bebdcf732d7f43518c9b03a5a92b4be9e1 (diff)
Fix issue 99.
Diffstat (limited to 'src/google/protobuf/map_unittest.proto')
-rw-r--r--src/google/protobuf/map_unittest.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/google/protobuf/map_unittest.proto b/src/google/protobuf/map_unittest.proto
index 54bc4486..9232d58f 100644
--- a/src/google/protobuf/map_unittest.proto
+++ b/src/google/protobuf/map_unittest.proto
@@ -75,3 +75,8 @@ enum MapEnum {
MAP_ENUM_BAR = 1;
MAP_ENUM_BAZ = 2;
}
+
+// Test embeded message with required fields
+message TestRequiredMessageMap {
+ map<int32, TestRequired> map_field = 1;
+}