summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/module/await-restricted-nested.js
blob: 277b3a34890cfa9152cca89019491db6a85342ee (plain)
1
2
3
4
5
6
// |reftest| error:SyntaxError module

// 'await' is always a keyword when parsing modules.
function f() {
    await;
}