1--TEST--
2Abstract private trait method not implemented
3--FILE--
4<?php
5
6trait T {
7    abstract private function method(int $a, string $b);
8}
9
10abstract class C {
11    use T;
12}
13
14class D extends C {
15    private function method(int $a, string $b) {}
16}
17
18?>
19--EXPECTF--
20Fatal error: Class C must implement 1 abstract private method (C::method) in %s on line %d
21