xref: /PHP-8.2/Zend/tests/gh7792_1.phpt (revision 733023b2)
1--TEST--
2GH-7792 (Refer to enum as enum instead of class)
3--FILE--
4<?php
5
6interface A {
7    public function a(): void;
8}
9
10enum B implements A {}
11
12?>
13--EXPECTF--
14Fatal error: Enum B must implement 1 abstract private method (A::a) in %s on line %d
15