Now they always get traits, even if unused. PiperOrigin-RevId: 691046942pull/18969/head
parent
116edcefe3
commit
083bbd4fcd
4 changed files with 35 additions and 4 deletions
@ -0,0 +1,15 @@ |
||||
edition = "2023"; |
||||
|
||||
package protobuf_unittest; |
||||
|
||||
option optimize_for = LITE_RUNTIME; |
||||
|
||||
// A file with only a single enum, without any use of it. |
||||
// This is useful for testing enum specific codegen that is not directly related |
||||
// to field codegen. |
||||
|
||||
enum OnlyOneEnum { |
||||
ONLY_ONE_ENUM_DEFAULT = 0; |
||||
ONLY_ONE_ENUM_VALID = 10; |
||||
} |
||||
|
Loading…
Reference in new issue