summaryrefslogtreecommitdiffstats
path: root/tests/inputs/nested2/nested2.proto
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/inputs/nested2/nested2.proto21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/inputs/nested2/nested2.proto b/tests/inputs/nested2/nested2.proto
new file mode 100644
index 0000000..cd6510c
--- /dev/null
+++ b/tests/inputs/nested2/nested2.proto
@@ -0,0 +1,21 @@
+syntax = "proto3";
+
+package nested2;
+
+import "package.proto";
+
+message Game {
+ message Player {
+ enum Race {
+ human = 0;
+ orc = 1;
+ }
+ }
+}
+
+message Test {
+ Game game = 1;
+ Game.Player GamePlayer = 2;
+ Game.Player.Race GamePlayerRace = 3;
+ equipment.Weapon Weapon = 4;
+} \ No newline at end of file