summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-596103.js
blob: 2b191009641951522bef14fb6a6220c432fb1c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/
// Contributor: Gary Kwong <gary@rumblingedge.com>, Jesse Ruderman <jruderman@gmail.com>

for (var u = 0; u < 3; ++u) {
    var y = [];
    Object.create(y);
    gc();
    y.t = 3;
    gc();
}

reportCompare(0, 0, 'ok');