blob: 8c92e2447ff9687c12485c0ee8df216e375a5f30 [file] [log] [blame]
load(libdir + 'bytecode-cache.js');
var test = (function () {
function f() {
var x = function inner() {
"use asm";
function g() {}
return g;
};
};
return f.toSource();
})();
try {
evalWithCache(test, {});
} catch (x) {
assertEq(x.message.includes("AsmJS"), true);
assertEq(x.message.includes("XDR"), true);
}