summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/external-strings-cgc.js
blob: aa64172122c2a4447d97535c0e9edebe15f0630b (plain)
1
2
3
4
5
6
7
gczeal(0);
startgc(1, "shrinking");
for (var i=0; i<100; i++) {
    gcslice(100000);
    var s = "abcdefghi0";
    assertEq(newString(s, {maybeExternal: true}), s);
}