xref: /php-src/ext/reflection/tests/gh11937_1.inc (revision f78d1d0d)
1<?php
2
3#[Attribute]
4class Attr {
5    public function __construct(public $value) {}
6}
7
8class Foo {
9    public function __construct(public $value) {}
10}
11
12#[Attr(new Foo(TestEnum::CASES))]
13function test() {}
14