summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_229/multiple_oneof.proto
diff options
context:
space:
mode:
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;
+ }
+}
+