1--TEST--
2Constructor promotion cannot be used inside an abstract constructor
3--FILE--
4<?php
5
6abstract class Test {
7    abstract public function __construct(public int $x);
8}
9
10?>
11--EXPECTF--
12Fatal error: Cannot declare promoted property in an abstract constructor in %s on line %d
13