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
/
interface_implement.php
blob
2efc4a37212c3f17746c275074b1c14f1b9c5b74
1
<
?hh
// strict
2
// Test for interface trying to implement
3
4
interface
IFace
<
T
> {
5
public function
foo
():
T
;
6
}
7
8
interface
IFace2
<
T
>
implements
IFace
<
T
> {
9
public function
foo
():
T
;
10
public function
bar
():
T
;
11
}