summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug532363.js
blob: 10cdbef4aac9e6b6aadcece9788c9e8b3140e49c (plain)
1
2
3
4
5
6
7
8
9
10
// Binary: cache/js-dbg-32-410468c50ca1-linux
// Flags: -j
//
load(libdir + 'asserts.js');
assertThrowsInstanceOf(function() {
  for each(z in [0, 0, 0, 0]) { ({
      __parent__: []
    } = [])
  }
}, TypeError); // [].__parent__ is undefined