2 // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
4 final class ReifyTest
<<<__Enforceable>> reify T> {
5 public function __construct(private T $val) {}
6 public function foo(mixed $other): T {
13 function breakit(): void {
14 $x = new ReifyTest<int>(42);
15 $x->foo(new ReifyTest<string>('bar'));