1--TEST--
2Ownership of constant expression inhereted from immutable class should be transfered to class
3--FILE--
4<?php
5class A {
6    const X = ' ' . self::Y;
7    const Y = ' ';
8}
9eval('class B extends A{}');
10var_dump(B::X);
11?>
12--EXPECT--
13string(2) "  "
14