1--TEST--
2Non-backed enum errors when case has int value
3--FILE--
4<?php
5
6enum Foo {
7    case Bar = 1;
8}
9
10?>
11--EXPECTF--
12Fatal error: Case Bar of non-backed enum Foo must not have a value in %s on line %d
13