mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
Internal change
PiperOrigin-RevId: 949737599
This commit is contained in:
parent
59ab79a8fa
commit
14d12e2723
6 changed files with 51 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
edition = "2024";
|
||||
|
||||
local message Parent {
|
||||
local message NestedNamespace {
|
||||
export enum NestedEnum {
|
||||
NESTED_ENUM_UNSPECIFIED = 0;
|
||||
}
|
||||
reserved 1 to max;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
edition = "2024";
|
||||
|
||||
local message ValidNamespaceMessage {
|
||||
export enum Nested {
|
||||
VAL = 0;
|
||||
}
|
||||
|
||||
reserved 1 to max;
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
edition = "2024";
|
||||
|
||||
local message FailMultipleRanges {
|
||||
export enum NestedEnum {
|
||||
NESTED_ENUM_UNSPECIFIED = 0;
|
||||
}
|
||||
reserved 1 to 10, 11 to max;
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
edition = "2024";
|
||||
|
||||
local message FailRangeEnd {
|
||||
export enum NestedEnum {
|
||||
NESTED_ENUM_UNSPECIFIED = 0;
|
||||
}
|
||||
reserved 1 to 10;
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
edition = "2024";
|
||||
|
||||
local message FailRangeStart {
|
||||
export enum NestedEnum {
|
||||
NESTED_ENUM_UNSPECIFIED = 0;
|
||||
}
|
||||
reserved 2 to max;
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
edition = "2024";
|
||||
|
||||
export message FailNotLocal {
|
||||
export enum NestedEnum {
|
||||
NESTED_ENUM_UNSPECIFIED = 0;
|
||||
}
|
||||
reserved 1 to max;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue