summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-945275.js
blob: 26cdb23d3cc923852a36d3ac0955678d82e5e7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
function TestCase(n) {
  this.name = undefined;
  this.description = undefined;
}
gczeal(7,1);
eval("\
function reportCompare() { return new TestCase; };\
reportCompare();\
Object.defineProperty(Object.prototype, 'name', {});\
reportCompare();\
");