summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug-1680878.js
blob: 02975bb61b1317c939290f05e09932663823ff15 (plain)
1
2
3
4
5
6
7
// |jit-test| error: TypeError

r = parseModule(`
  for await (var x of this) {}
`);
moduleLink(r);
moduleEvaluate(r);