summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/errmsg_001.phpt')
-rw-r--r--Zend/tests/errmsg_001.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Zend/tests/errmsg_001.phpt b/Zend/tests/errmsg_001.phpt
new file mode 100644
index 0000000..b85e032
--- /dev/null
+++ b/Zend/tests/errmsg_001.phpt
@@ -0,0 +1,16 @@
+--TEST--
+errmsg: Non-abstract method must contain body
+--FILE--
+<?php
+
+abstract class test {
+}
+
+class Impl extends Test {
+ function Foo();
+}
+
+echo "Done\n";
+?>
+--EXPECTF--
+Fatal error: Non-abstract method Impl::Foo() must contain body in %s on line %d