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
Check for void/noreturn in conditionals
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
naming_ok_test12.php
blob
83dba349222d75df384362ead726852843897208
1
<
?hh
// strict
2
3
const
string
X
=
''
;
4
5
class
X
{}
6
7
function
X
(
string
$x
):
void
{}
8
9
function
test
():
void
{
10
X
(
X
);
11
new
X
();
12
}