Disallow ... without type in function typehints
[hiphop-php.git] / hphp / hack / test / typecheck / namespace_global_function3.php
blob8e0d4350b8c6135a6c42d3f608deee8af9947bba
1 //// global.php
2 <?hh // strict
3 /**
4 * Copyright (c) 2014, Facebook, Inc.
5 * All rights reserved.
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the "hack" directory of this source tree.
13 function f(): void {}
15 //// local.php
16 <?hh // strict
18 namespace N {
19 function g(): void {
20 NN\f();