xref: /PHP-8.2/Zend/tests/gh12468_2.phpt (revision af3d2f7e)
1--TEST--
2GH-12468: Double-free of doc_comment when overriding static property via trait
3--FILE--
4<?php
5trait T {
6	/** some doc */
7	static protected $a = 0;
8}
9class A {
10	/** some doc */
11	static protected $a = 0;
12}
13class B extends A {
14	use T;
15}
16?>
17===DONE===
18--EXPECT--
19===DONE===
20