xref: /PHP-7.4/Zend/tests/errmsg_001.phpt (revision 782352c5)
1--TEST--
2errmsg: Non-abstract method must contain body
3--FILE--
4<?php
5
6abstract class test {
7}
8
9class Impl extends Test {
10	function Foo();
11}
12
13echo "Done\n";
14?>
15--EXPECTF--
16Fatal error: Non-abstract method Impl::Foo() must contain body in %s on line %d
17