Allow function pointer builtins in constant initializers
[hiphop-php.git] / hphp / hack / test / typecheck / func_ptr_in_constants / meth_caller.php
blobc34a8699462af119b74f69a6a4a96953db784b57
1 <?hh // partial
3 function foo() {}
5 class Cls {
6 public function meth() {}
9 class A {
10 public static $arr = meth_caller(Cls::class, 'meth');
13 abstract class B {
14 const const_arr = meth_caller(Cls::class, 'meth');