aboutsummaryrefslogtreecommitdiff
path: root/php/tests/test_no_namespace.proto
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2016-10-11 10:36:25 -0700
committerGitHub <noreply@github.com>2016-10-11 10:36:25 -0700
commit60d95f36c0081a03b947c2b625c10841bb19736c (patch)
tree18a505eb1da4f6072afb9344af72880f0d789d3a /php/tests/test_no_namespace.proto
parent0321baf9e855a2b664436605c7067f348e1d7284 (diff)
downloadprotobuf-60d95f36c0081a03b947c2b625c10841bb19736c.tar.gz
protobuf-60d95f36c0081a03b947c2b625c10841bb19736c.tar.bz2
protobuf-60d95f36c0081a03b947c2b625c10841bb19736c.zip
Fix the bug that message without namespace is not found in the descriptor pool. (#2240)
Diffstat (limited to 'php/tests/test_no_namespace.proto')
-rw-r--r--php/tests/test_no_namespace.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/php/tests/test_no_namespace.proto b/php/tests/test_no_namespace.proto
new file mode 100644
index 00000000..4331aeab
--- /dev/null
+++ b/php/tests/test_no_namespace.proto
@@ -0,0 +1,5 @@
+syntax = "proto3";
+
+message NoNameSpace {
+ int32 a = 1;
+}