1--TEST--
2#[\Override]: Static method.
3--FILE--
4<?php
5
6class P {
7    public static function p(): void {}
8}
9
10class C extends P {
11    #[\Override]
12    public static function p(): void {}
13}
14
15echo "Done";
16
17?>
18--EXPECT--
19Done
20