<?xml version="1.0" encoding="UTF-8"?>
<test id="wmlscript/core/operators/arithmetic/8" class="A" scope="wmlscript" testtype="application" type="auto" source="wmls11#6.3.2" device="both">
  <assertion>The '&gt;&gt;' operator right shifts the bits of the value of the first operand by the number of bits specified by the value of the second operand, filling the shifted bits with the sign bit of the first operand.
</assertion>
  <results>
    <result>
      <name>test</name>
      <value>pass</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<onevent type="onenterforward">
<go href="<script1>#main('test','card1')"/>
</onevent>
<auto_failed>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<onevent type="onenterforward">
<go href="<resulturl>">
<postfield name="test" value="$test"/>
<sessionvars>
</go>
</onevent>
<auto_failed>
</card>
]]>
    </card>
  </cards>
  <scripts>
    <script id="1">
      <![CDATA[extern function main(myvar,next) {
	var result = 'fail';
	var tmp = 128 >> 2;
	if (tmp == 32) {
		result = 'pass';
	}
	WMLBrowser.setVar(myvar, result);
	WMLBrowser.go('#' + next);
	return 1;
}
]]>
    </script>
  </scripts>
</test>

