blob: f2c51142b154fee7b2af5af33f027afe35c47f7b [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
function tag(site)
{
return site;
}
{
function a() {
return tag`Hello`;
}
function b() {
return tag`Hello`;
}
shouldBe(a() === b(), false);
gc();
var tagA = a();
gc();
shouldBe(tagA === b(), false);
}