xref: /php-src/Zend/tests/gh7792_1.phpt (revision b436ef47)
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 method (A::a) in %s on line %d
15