protobuf-go/cmd/protoc-gen-go/testdata/protoeditions/nested_messages.proto
Lasse Folger f387b036d8 editions: add some test protos for editions
I'll add the runtime implementations and tests in a followup change to
make it easier to review.

Change-Id: I2917e0d40a99e81799d89a66584a680ed7e8dbf7
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/561939
Auto-Submit: Lasse Folger <lassefolger@google.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-12 14:14:45 +00:00

19 lines
434 B
Protocol Buffer

// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
edition = "2023";
package goproto.protoc.protoeditions;
option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/protoeditions";
message Layer1 {
message Layer2 {
message Layer3 {}
Layer3 l3 = 1;
}
Layer2 l2 = 1;
Layer2.Layer3 l3 = 2;
}