diff options
author | Vladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com> | 2019-04-12 00:15:11 +0700 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-04-11 10:15:11 -0700 |
commit | 2bd4a27550f5ff70e97dcb9230438bf665ca191f (patch) | |
tree | 696c6b476d45189330dda1f2d79a803eae71c6bb | |
parent | 23bb57401c6acaa6f9e983e6eb7a687527b68af6 (diff) | |
download | flatbuffers-2bd4a27550f5ff70e97dcb9230438bf665ca191f.tar.gz flatbuffers-2bd4a27550f5ff70e97dcb9230438bf665ca191f.tar.bz2 flatbuffers-2bd4a27550f5ff70e97dcb9230438bf665ca191f.zip |
Detect leak with sanitizer (#5283)
-rw-r--r-- | tests/prototest/test.proto | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/prototest/test.proto b/tests/prototest/test.proto index cae1f3cf..df264a1a 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 |