1--TEST--
2Abstract method in trait using "self"
3--FILE--
4<?php
5
6trait T {
7    abstract private function method(self $x): self;
8}
9
10class C {
11    use T;
12
13    private function method(self $x): self {
14        return $this;
15    }
16}
17
18?>
19===DONE===
20--EXPECT--
21===DONE===
22