3 <<file
:__EnableUnstableFeatures('modules')>>
9 // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
10 <<file
:__EnableUnstableFeatures('modules'), __Module('X')>>
20 function f1(X
$x): void
{} // ok
22 function f2(X
$x): void
{} // error
36 // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
37 <<file
:__EnableUnstableFeatures('modules'), __Module('Y')>>
39 function f3(X
$x): void
{} // error
47 // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
49 function f4(X
$x): void
{} // error