summaryrefslogtreecommitdiff
path: root/Zend/tests/inter_04.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/inter_04.phpt')
-rw-r--r--Zend/tests/inter_04.phpt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Zend/tests/inter_04.phpt b/Zend/tests/inter_04.phpt
new file mode 100644
index 0000000..ea0bd84
--- /dev/null
+++ b/Zend/tests/inter_04.phpt
@@ -0,0 +1,21 @@
+--TEST--
+Trying declare interface with repeated name of inherited method
+--FILE--
+<?php
+
+interface a {
+ function b();
+}
+
+interface b {
+ function b();
+}
+
+interface c extends a, b {
+}
+
+echo "done!\n";
+
+?>
+--EXPECTF--
+done!