3 * Copyright (c) 2014, Facebook, Inc.
6 * This source code is licensed under the BSD-style license found in the
7 * LICENSE file in the "hack" directory of this source tree. An additional grant
8 * of patent rights can be found in the PATENTS file in the same directory.
13 trait MyTrait
<T1
, T2
> {}
23 public static function g(): void
{
28 public function h(): void
{
32 public function i(C
<T
> $x): \NS1\NS2\C
<T
> {
37 function id
<T
>(T
$x): T
{
41 function id2
<T
as C
<int>>(T
$x): T
{
45 function id3
<T
as \NS1\NS2\C
<int>>(T
$x): T
{
51 class C2
extends \NS1\NS2\C
<int> {}