make `Switch` constructor more precise
[hiphop-php.git] / hphp / test / slow / smultiprop-1.php
blob074a966dd3203ae5f935922331e34ae0b2e4d40e
1 <?hh
3 class C {
4 static vec<int> $x = vec[];
5 static vec<Foo> $y = vec[];
8 class Foo {}
10 <<__EntryPoint>>
11 function main() {
12 C::$x[] = 17;
13 C::$y[] = new Foo();
15 gc_collect_cycles();
17 var_dump(C::$x);
18 var_dump(C::$y);