From 2bd4a27550f5ff70e97dcb9230438bf665ca191f Mon Sep 17 00:00:00 2001 From: Vladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com> Date: Fri, 12 Apr 2019 00:15:11 +0700 Subject: [PATCH] Detect leak with sanitizer (#5283) --- tests/prototest/test.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/prototest/test.proto b/tests/prototest/test.proto index cae1f3cfc..df264a1a0 100644 --- a/tests/prototest/test.proto +++ b/tests/prototest/test.proto @@ -7,9 +7,14 @@ package proto.test; /// Enum doc comment. enum ProtoEnum { + option allow_alias = true; FOO = 1; -/// Enum 2nd value doc comment misaligned. + /// Enum 2nd value doc comment misaligned. BAR = 5; + // Aliases + FOO_A1 = 1; + BAR_A1 = 5; + FOO_A2 = 1; } /// 2nd table doc comment with