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