1--TEST--
2Visibility enforcement on abstract trait methods
3--FILE--
4<?php
5
6trait T {
7    abstract public function method(int $a, string $b);
8}
9
10class C {
11    use T;
12
13    /* For backwards-compatibility reasons, visibility is not enforced here. */
14    private function method(int $a, string $b) {}
15}
16
17?>
18===DONE===
19--EXPECT--
20===DONE===
21