| // Protocol Buffers - Google's data interchange format |
| // Copyright 2023 Google Inc. All rights reserved. |
| // |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file or at |
| // https://developers.google.com/open-source/licenses/bsd |
| |
| syntax = "proto2"; |
| |
| package protobuf_editions_test.proto2; |
| |
| // LINT: ALLOW_GROUPS |
| |
| message Proto2Group { |
| optional group GroupField = 2 { |
| optional int32 int32_field = 1; |
| } |
| |
| extensions 10 to 100; |
| } |
| |
| extend Proto2Group { |
| optional group GroupExtension = 10 { |
| optional int32 int32_field = 1; |
| } |
| } |