1--TEST--
2#[\Override]: On trait.
3--FILE--
4<?php
5
6trait T {
7    #[\Override]
8    public function t(): void {}
9}
10
11echo "Done";
12
13?>
14--EXPECT--
15Done
16