summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug751139.js
blob: a889ab623972366ee7804744e974b64def71706a (plain)
1
2
3
4
5
6
7

load(libdir + "asserts.js");

function C(a, b) {}
var f = C.bind(null, 2);
var that = this;
assertThrowsInstanceOf(function () { g = clone(f, that)}, TypeError);