summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug-1406452.js
blob: e7293bc2229e30e39097050c19035439d7184ca2 (plain)
1
2
3
4
5
// |jit-test| error: Error
let m = parseModule(`for (var x of iterator) {}`);
moduleLink(m);
try { moduleEvaluate(m); } catch (e) {}
getModuleEnvironmentValue(m, "r");