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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
invariant_false.php
blob
1bf14996eb9cbe8eb2745b18309b0b56e7d27828
1
<
?hh
// strict
2
3
function
test
():
int
{
4
invariant
(
false
,
'This should be an invariant violation'
);
5
}