mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
17 lines
225 B
PHP
17 lines
225 B
PHP
--TEST--
|
|
Bug #69174 (leaks when unused inner class use traits precedence)
|
|
--FILE--
|
|
<?php
|
|
function test() {
|
|
class C1 {
|
|
use T1, T2 {
|
|
T1::foo insteadof T2;
|
|
T1::bar insteadof T2;
|
|
}
|
|
}
|
|
}
|
|
?>
|
|
==DONE==
|
|
--EXPECT--
|
|
==DONE==
|