1// Protocol Buffers - Google's data interchange format 2// Copyright 2023 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 8syntax = "proto2"; 9 10package protobuf_editions_test.proto2; 11 12// LINT: ALLOW_GROUPS 13 14message Proto2Group { 15 optional group GroupField = 2 { 16 optional int32 int32_field = 1; 17 } 18 19 extensions 10 to 100; 20} 21 22extend Proto2Group { 23 optional group GroupExtension = 10 { 24 optional int32 int32_field = 1; 25 } 26} 27