xref: /PHP-8.4/Zend/tests/enum/case-in-class.phpt (revision 269c8dac)
1--TEST--
2Enum case in class
3--FILE--
4<?php
5
6class Foo {
7    case Bar;
8}
9
10?>
11--EXPECTF--
12Fatal error: Case can only be used in enums in %s on line %d
13