summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-945275.js
blob: 42e63a55c777f28e2fe40eab4b0ee4008b9251e9 (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() new TestCase;\
reportCompare();\
Object.defineProperty(Object.prototype, 'name', {});\
reportCompare();\
");