summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_118
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regression/issue_118')
-rw-r--r--tests/regression/issue_118/enumdef.proto2
-rw-r--r--tests/regression/issue_118/enumuse.proto2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/regression/issue_118/enumdef.proto b/tests/regression/issue_118/enumdef.proto
index 830d2988..46845bc9 100644
--- a/tests/regression/issue_118/enumdef.proto
+++ b/tests/regression/issue_118/enumdef.proto
@@ -1,3 +1,5 @@
+syntax = "proto2";
+
import 'nanopb.proto';
enum MyEnum {
diff --git a/tests/regression/issue_118/enumuse.proto b/tests/regression/issue_118/enumuse.proto
index d778fb8f..4afc4521 100644
--- a/tests/regression/issue_118/enumuse.proto
+++ b/tests/regression/issue_118/enumuse.proto
@@ -1,3 +1,5 @@
+syntax = "proto2";
+
import 'enumdef.proto';
message MyMessage {