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 io_tests to folly/io/async/test
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
parent_const.php
blob
75e8819372eb23e3daf99f0c9f98a6d5a188e8af
1
<
?hh
2
3
class
C1
{
4
const
int
foo
=
10
;
5
6
final public function
foo
():
string
{
7
return
'foo'
;
8
}
9
}
10
11
class
C2
extends
C1
{
12
public function
test
():
string
{
13
return
parent
::
foo
;
14
}
15
}