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