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 8// Author: Darick Tong (darick@google.com) 9// 10// A proto file with nested extensions. Note that this must be defined in 11// a separate file to properly test the initialization of the outer class. 12 13// LINT: LEGACY_NAMES 14 15edition = "2023"; 16 17package protobuf_unittest; 18 19import "com/google/protobuf/non_nested_extension.proto"; 20 21 22message MyNestedExtension { 23 extend MessageToBeExtended { 24 MessageToBeExtended recursiveExtension = 2; 25 int32 default = 2002; 26 } 27} 28