js/src/jit-test/tests/ion/bug930327.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/ion/bug930327.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +// |jit-test| error: ReferenceError
     1.5 +
     1.6 +function MyObject( value ) {
     1.7 +  this.value = value;
     1.8 +  value &= value;
     1.9 +}
    1.10 +ForIn_1(new MyObject(true));
    1.11 +function ForIn_1( object) {
    1.12 +  for ( property in object ) {
    1.13 +    object[property] == eval(property) 
    1.14 +  }
    1.15 +}

mercurial