summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testDebugModeDisables.js
blob: 56b1c4dde698ed417ed6b37f4a32346de7c09ba5 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test|

load(libdir + "asm.js");

// Turn on debugging for the current global.
var g = newGlobal();
var dbg = new g.Debugger(this);

assertAsmTypeFail("'use asm'; function f() {} return f");