repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Disallow ... without type in function typehints
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
namespace_global_function3.php
blob
8e0d4350b8c6135a6c42d3f608deee8af9947bba
1
//// global.php
2
<
?hh
// strict
3
/**
4
* Copyright (c) 2014, Facebook, Inc.
5
* All rights reserved.
6
*
7
* This source code is licensed under the MIT license found in the
8
* LICENSE file in the "hack" directory of this source tree.
9
*
10
*
11
*/
12
13
function
f
():
void
{}
14
15
//// local.php
16
<
?hh
// strict
17
18
namespace
N
{
19
function
g
():
void
{
20
NN\f
();
21
}
22
}