global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / member_key_offset.hhas
blob93dde17690fb60dccda09c6723545e8f811b329e
1 #tests that verifier rejects illegal stack offsets in member keys
3 .main {
4   .declvars $foo $baz $t;
5   Null
6   SetL $foo
7   PopC
8   String "abc"
9   SetL $baz
10   PopC
11   String "xyz"
12   SetL $t
13   PopC
14   BaseL $baz Warn
15   QueryM 0 CGet EL:$t
16   Int 12
17   BaseL $foo Define
18   Dim Define ET:"x"
19   Dim Define ET:"y"
20   Dim Define PT:"bar"
21   Dim Define ET:"q"
22   SetM 0 PC:2
23   PopC
24   FPushFuncD 1 "var_dump"
25   CGetL $foo
26   FCall <> 1 1 "" - "" ""
27   PopC
28   RetC