From 14b40ec77a4bf8605789cc3aff0eb87625510a41 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Jul 2024 11:40:12 +0200 Subject: Adding upstream version 1.2+20240521. Signed-off-by: Daniel Baumann --- tests/inputs/nested2/nested2.proto | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/inputs/nested2/nested2.proto (limited to 'tests/inputs/nested2/nested2.proto') 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 -- cgit v1.2.3