xref: /PHP-7.2/Zend/tests/bug71871.phpt (revision dc842bbf)
1--TEST--
2Bug #71871: Interfaces allow final and abstract functions
3--FILE--
4<?php
5
6interface test {
7    final 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