summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-614714.js
blob: 4d387279cdb8cbd6d74794441903a2d942a6eccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/

function f(reportCompare) {
    if (typeof clear === 'function')
        clear(this);
    return f;
}

// This must be called before clear().
reportCompare(0, 0, 'ok');
f();  // don't assert