summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_229/multiple_oneof.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-12-31 10:33:19 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-12-31 10:33:19 +0200
commit90a19bf0368035147a74b9b8edd65d672a03cd00 (patch)
tree023f86c1bef24cbb8c3938e0cf3562b7b9e2b299 /tests/regression/issue_229/multiple_oneof.proto
parent16f08f9fc8ff73e775cbf54b1024629ca7db0e58 (diff)
Add testcase for issue #229
Diffstat (limited to 'tests/regression/issue_229/multiple_oneof.proto')
-rw-r--r--tests/regression/issue_229/multiple_oneof.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/regression/issue_229/multiple_oneof.proto b/tests/regression/issue_229/multiple_oneof.proto
new file mode 100644
index 00000000..22373e1d
--- /dev/null
+++ b/tests/regression/issue_229/multiple_oneof.proto
@@ -0,0 +1,11 @@
+syntax = "proto2";
+
+message MainMessage {
+ oneof oneof1 {
+ uint32 oneof1_uint32 = 1;
+ }
+ oneof oneof2 {
+ uint32 oneof2_uint32 = 2;
+ }
+}
+