Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typename_mangling/with_package_b.proto')
-rw-r--r--tests/typename_mangling/with_package_b.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typename_mangling/with_package_b.proto b/tests/typename_mangling/with_package_b.proto
new file mode 100644
index 0000000..5cd2dfa
--- /dev/null
+++ b/tests/typename_mangling/with_package_b.proto
@@ -0,0 +1,10 @@
+syntax = "proto3";
+
+import "strip_package_a.proto";
+
+package package.b;
+
+message MessageB {
+ package.a.EnumA nested_enum = 1;
+ package.a.MessageA nested_message = 2;
+}