diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug930327.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug930327.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug930327.js b/js/src/jit-test/tests/ion/bug930327.js new file mode 100644 index 000000000..496b6e342 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug930327.js @@ -0,0 +1,12 @@ +// |jit-test| error: ReferenceError + +function MyObject( value ) { + this.value = value; + value &= value; +} +ForIn_1(new MyObject(true)); +function ForIn_1( object) { + for ( property in object ) { + object[property] == eval(property) + } +} |