global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / objmethod.php
blob100ec9489ec15ea146cef2e9ec23570902ac340a
1 <?hh
3 trait t {
4 public static function f($o) {
5 $o->blah();
9 class c {
10 use t;
11 private function blah() {
12 echo "private function\n";
16 function main() {
17 $o = new c;
18 c::f($o);
19 t::f($o);
21 main();