xref: /PHP-7.4/Zend/tests/bug71871_2.phpt (revision dc842bbf)
1--TEST--
2Bug #71871: Interfaces allow final and abstract functions
3--FILE--
4<?php
5
6interface test {
7    abstract function test();
8}
9
10?>
11--EXPECTF--
12Fatal error: Access type for interface method test::test() must be omitted in %s on line %d
13