diff options
Diffstat (limited to 'tests/inputs/nested2')
-rw-r--r-- | tests/inputs/nested2/nested2.proto | 21 | ||||
-rw-r--r-- | tests/inputs/nested2/package.proto | 7 |
2 files changed, 28 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 diff --git a/tests/inputs/nested2/package.proto b/tests/inputs/nested2/package.proto new file mode 100644 index 0000000..e12abb1 --- /dev/null +++ b/tests/inputs/nested2/package.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + +package nested2.equipment; + +message Weapon { + +}
\ No newline at end of file |