1--TEST--
2Int backed enums with case without value
3--FILE--
4<?php
5
6enum Foo: int {
7    case Bar;
8}
9
10var_dump(Foo::Bar->value);
11
12?>
13--EXPECTF--
14Fatal error: Case Bar of backed enum Foo must have a value in %s on line %d
15