summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/ns_003.phpt')
-rwxr-xr-xZend/tests/ns_003.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/ns_003.phpt b/Zend/tests/ns_003.phpt
new file mode 100755
index 0000000000..26c21a9ff0
--- /dev/null
+++ b/Zend/tests/ns_003.phpt
@@ -0,0 +1,12 @@
+--TEST--
+003: Name conflict (ns name)
+--FILE--
+<?php
+namespace test::ns1;
+
+class Exception {
+}
+
+echo get_class(new Exception()),"\n";
+--EXPECT--
+test::ns1::Exception