From: Matthias Kramm Date: Fri, 13 Feb 2009 14:57:29 +0000 (+0100) Subject: test ^= X-Git-Tag: release-0-9-0~104 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=0fb1c17d65a058eb907be12af5e5b31d93a7b021;p=swftools.git test ^= --- diff --git a/lib/as3/ok/assignments.as b/lib/as3/ok/assignments.as index ef2dea9..c712fae 100644 --- a/lib/as3/ok/assignments.as +++ b/lib/as3/ok/assignments.as @@ -5,7 +5,7 @@ package { public class Main extends flash.display.MovieClip { var count:int = 1; - var num:int = 16; + var num:int = 17; function assert(b:Boolean) { if(b) { @@ -42,6 +42,11 @@ package { x = 0x55; x |= 0x0f; assert(x==0x5f); + x=3;y=3; + x ^= 7; + y = y^7; + assert(x==y); + /* nested assignment expressions need different temporary registers- make sure they don't collide */ var a:int = 1;