xref: /PHP-8.2/Zend/tests/bug69174.phpt (revision f8d79582)
1--TEST--
2Bug #69174 (leaks when unused inner class use traits precedence)
3--FILE--
4<?php
5function test() {
6    class C1 {
7        use T1, T2 {
8            T1::foo insteadof T2;
9            T1::bar insteadof T2;
10        }
11    }
12}
13?>
14==DONE==
15--EXPECT--
16==DONE==
17