1// Protocol Buffers - Google's data interchange format 2// Copyright 2008 Google Inc. All rights reserved. 3// 4// Use of this source code is governed by a BSD-style 5// license that can be found in the LICENSE file or at 6// https://developers.google.com/open-source/licenses/bsd 7 8edition = "2023"; 9 10package proto2_arena_unittest; 11 12// Use expanded encoding for repeated fields by default (proto2 behavior). 13option features.repeated_field_encoding = EXPANDED; 14option cc_enable_arenas = true; 15 16message NestedMessage { 17 int32 d = 1; 18} 19 20message ArenaMessage { 21 repeated NestedMessage repeated_nested_message = 1; 22} 23