Skip to content

Commit 470522c

Browse files
mkruskal-googlecopybara-github
authored andcommitted
Internal changes
PiperOrigin-RevId: 804581738
1 parent 651bc37 commit 470522c

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
8+
edition = "2023";
9+
10+
package protobuf_editions_test.edition2023;
11+
12+
import "editions/codegen_tests/proto2_optional.proto";
13+
14+
message Edition2023ImportMessage {
15+
protobuf_editions_test.google.protobuf.Proto2Optional sub_message_field = 1;
16+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
8+
edition = "2023";
9+
10+
package protobuf_editions_test.edition2023;
11+
12+
import "third_party/golang/protobuf/v2/src/google/protobuf/go_features.proto";
13+
import "google/protobuf/cpp_features.proto";
14+
15+
option features.(pb.go).api_level = API_OPAQUE;
16+
17+
message Edition2023ImportFeatureMessage {
18+
string view = 1 [features.(pb.cpp).string_type = VIEW];
19+
}

0 commit comments

Comments
 (0)