3 * Copyright (c) 2018, Facebook, Inc.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
11 abstract final class CannotBeInstantiated
{}
14 const type TData
= shape('text' => CannotBeInstantiated
);
15 // this type can never be satisfied
16 public function foo(this
::TData
$c): void
{}