diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-10-05 16:01:53 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-10-05 16:01:53 +0300 |
commit | 7f1e0ec17987ff10c5ce17f347b66423fe8ac4bd (patch) | |
tree | 968ebd9aa8ffcae0d45929a1c9bdc5abd2d02c86 /tests/regression/issue_172/test.proto | |
parent | 6448f5d40d498a8de05b953f8318dba0cf4ff26f (diff) |
Fix regression in generating message size defines (issue #172).
This bug was triggered when:
1. A .proto file included another .proto from a different directory.
2. The another .proto has an associated .options file.
Added regression test for the same.
Diffstat (limited to 'tests/regression/issue_172/test.proto')
-rw-r--r-- | tests/regression/issue_172/test.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/regression/issue_172/test.proto b/tests/regression/issue_172/test.proto new file mode 100644 index 00000000..fbd97be5 --- /dev/null +++ b/tests/regression/issue_172/test.proto @@ -0,0 +1,6 @@ +syntax = "proto2"; +import "submessage.proto"; + +message testmessage { + optional submessage sub = 1; +} |