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
/
trait_priv_extends3.php
blob
e2dad68a7dfb8b7bc877a09a4a5093f7d019e1d3
1
<
?hh
// strict
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
class
C1
{}
5
class
C2
{}
6
7
trait T
{
8
private
?C1
$c
;
9
}
10
11
class
C
{
12
use
T
;
13
14
private
?C2
$c
;
15
}