js/src/jit-test/tests/auto-regress/bug684281.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug684281.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +// Binary: cache/js-dbg-64-fcca99426576-linux
     1.5 +// Flags: -m -n -a
     1.6 +//
     1.7 +
     1.8 +function printStatus (msg) {}
     1.9 +F = function () {};
    1.10 +F.prototype = new Int32Array(1);
    1.11 +o = new F();
    1.12 +function f2(o){
    1.13 +	with(this)
    1.14 +	for(var x in o)
    1.15 +	printStatus(o[x]);
    1.16 +}
    1.17 +f2([]);

mercurial