protobuf/php/tests/proto/test_no_namespace.proto
Paul Yang 7be088202b Enum defined without package have incorrect class name. (#2988)
Fix the bug by sharing the code for generating class name for both
message and enum.
2017-04-19 20:03:34 -07:00

11 lines
122 B
Protocol Buffer

syntax = "proto3";
message NoNamespaceMessage {
int32 a = 1;
}
enum NoNamespaceEnum {
VALUE_A = 0;
VALUE_B = 1;
}