summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2019-04-13 14:05:57 -0700
committerJosh Haberman <jhaberman@gmail.com>2019-04-13 14:05:57 -0700
commitf3c560122a8ef25f3391207205c7e55c897fd27f (patch)
tree848dad10a55b4bf9d0d04d34105738a73ac045c6 /tests
parent02e26c5004ae0ddab6dcc65879a89df773c317bc (diff)
upb_proto_library() works for local project!
Doesn't work for remote projects yet though.
Diffstat (limited to 'tests')
-rw-r--r--tests/json/enum_from_separate_file.proto9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/json/enum_from_separate_file.proto b/tests/json/enum_from_separate_file.proto
new file mode 100644
index 0000000..ceb9b42
--- /dev/null
+++ b/tests/json/enum_from_separate_file.proto
@@ -0,0 +1,9 @@
+syntax = "proto2";
+
+import "tests/json/test.proto";
+
+package upb.test.json;
+
+message ImportEnum {
+ optional MyEnum e = 1;
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback