aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/3.4.0/php/tests/proto/test_prefix.proto
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/3.4.0/php/tests/proto/test_prefix.proto')
-rw-r--r--third_party/protobuf/3.4.0/php/tests/proto/test_prefix.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/protobuf/3.4.0/php/tests/proto/test_prefix.proto b/third_party/protobuf/3.4.0/php/tests/proto/test_prefix.proto
new file mode 100644
index 0000000000..9bfbad7f82
--- /dev/null
+++ b/third_party/protobuf/3.4.0/php/tests/proto/test_prefix.proto
@@ -0,0 +1,12 @@
+syntax = "proto3";
+
+option php_class_prefix = "Prefix";
+
+message TestPrefix {
+ int32 a = 1;
+}
+
+// Test prefix for reserved words.
+message Empty {
+ int32 a = 1;
+}