global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / trait_method_modif4.php
blob7082ccd0f498603d7c552b5219750b45bb573af8
1 <?hh
2 class Foo {
3 private function f() {
4 return 'Foo';
7 trait T {
8 private function f() {
9 return 'Bar';
12 class Bar extends Foo {
13 use T;
14 function inv() {
15 return $this->f();
18 $b = new Bar();
19 echo $b->inv()."\n";