xref: /PHP-8.2/Zend/tests/bug78787.phpt (revision 6d4965fe)
1--TEST--
2Bug #78787: Segfault with trait overriding inherited private shadow property
3--FILE--
4<?php
5
6trait T {
7    private $prop;
8}
9class C1 {
10    /** Doc comment */
11    private $prop;
12}
13class C2 extends C1 {
14}
15class C3 extends C2 {
16    use T;
17}
18
19?>
20===DONE===
21--EXPECT--
22===DONE===
23