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
Move tests that only checks first error to subfolder
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
reactive
/
only_first_error
/
ref_if_rx_enabled1.php
blob
a78adc07109c90e7b427facd7cb6e0d5d8f320d0
1
<
?hh
// partial
2
3
function
g
(
int
&
$x
):
void
{
4
}
5
6
<<
__Rx
>>
7
function
f
(
int
$x
):
void
{
8
if
(
\HH\Rx\IS_ENABLED
) {
9
}
else
{
10
g
(&
$x
);
11
}
12
}