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
/
fc_enum_4.php
blob
5c40e304eac3209a3e9576f9708b4e36e81f3d79
1
<
?hh
// strict
2
3
// Should fail because bool
4
enum Foo
:
bool
{
5
FOO
=
true
;
6
}