xref: /PHP-8.0/Zend/tests/errmsg_001.phpt (revision f8d79582)
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