summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug642894.js
blob: 5de6f3597e1ee644a1aa28892b64f03d6b5ea63c (plain)
1
2
3
4
5
6
7
8
9
function foo() {
  var x = {};
  x.__proto__ = function() { return 0 }
  return x;
}
var a = foo();
var b = foo();
assertEq(a.__proto__ === b.__proto__, false);