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
Add trivial entry points to various tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
class_constant
/
abstract_const1.php
blob
3f5112b8edb1fbc93e0169a6cd268de973444bd1
1
<
?hh
2
3
interface
I
{
4
abstract const
X
;
5
}
6
7
abstract class
C1
implements
I
{
8
abstract const
X
;
9
}
10
11
class
C
implements
I
{
12
const
X
=
'C::X'
;
13
}
14
15
abstract class
D
extends
C
{
16
abstract const
X
;
// fatal!
17
}
18
19
<<
__EntryPoint
>>
20
function
main
():
void
{
21
echo
"Done.
\n
"
;
22
}