Fix issue with calling a unique, non-persistent method
[hiphop-php.git] / hphp / test / slow / hhbbc / private_ancestor_002.php
blob63f64277db0b087fa2d7a0179cb699ab4e69c022
1 <?php
3 class X { private function go(&$x) {} }
4 class N extends X {
5 function __call($x, $y) { echo "ok\n"; }
8 function main(X $y) {
9 $asd = 'asd';
10 return $y->go($asd);
13 main(new N);