summaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/regression/issue_118/enumuse.proto
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nanopb/tests/regression/issue_118/enumuse.proto')
-rw-r--r--libs/nanopb/tests/regression/issue_118/enumuse.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/nanopb/tests/regression/issue_118/enumuse.proto b/libs/nanopb/tests/regression/issue_118/enumuse.proto
new file mode 100644
index 00000000..4afc4521
--- /dev/null
+++ b/libs/nanopb/tests/regression/issue_118/enumuse.proto
@@ -0,0 +1,7 @@
+syntax = "proto2";
+
+import 'enumdef.proto';
+
+message MyMessage {
+ required MyEnum myenum = 1 [default = FOOBAR];
+}