summaryrefslogtreecommitdiffstats
path: root/tests/inputs/deprecated/deprecated.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inputs/deprecated/deprecated.proto')
-rw-r--r--tests/inputs/deprecated/deprecated.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/inputs/deprecated/deprecated.proto b/tests/inputs/deprecated/deprecated.proto
new file mode 100644
index 0000000..81d69c0
--- /dev/null
+++ b/tests/inputs/deprecated/deprecated.proto
@@ -0,0 +1,14 @@
+syntax = "proto3";
+
+package deprecated;
+
+// Some documentation about the Test message.
+message Test {
+ Message message = 1 [deprecated=true];
+ int32 value = 2;
+}
+
+message Message {
+ option deprecated = true;
+ string value = 1;
+}