Skip to content

Commit 2bd4a27

Browse files
vglavnyyaardappel
authored andcommitted
Detect leak with sanitizer (google#5283)
1 parent 23bb574 commit 2bd4a27

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/prototest/test.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ package proto.test;
77

88
/// Enum doc comment.
99
enum ProtoEnum {
10+
option allow_alias = true;
1011
FOO = 1;
11-
/// Enum 2nd value doc comment misaligned.
12+
/// Enum 2nd value doc comment misaligned.
1213
BAR = 5;
14+
// Aliases
15+
FOO_A1 = 1;
16+
BAR_A1 = 5;
17+
FOO_A2 = 1;
1318
}
1419

1520
/// 2nd table doc comment with

0 commit comments

Comments
 (0)