xref: /PHP-8.2/Zend/tests/gh14009_003.phpt (revision c6b75f93)
1--TEST--
2GH-14009: Traits inherit prototype
3--FILE--
4<?php
5
6class A {
7    private function test() {}
8}
9
10trait T {
11    private function test() {}
12}
13
14class B extends A {
15    use T;
16}
17
18?>
19--EXPECT--
20