mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
361 B
TypeScript
16 lines
361 B
TypeScript
//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsInForOf.3.ts] ////
|
|
|
|
//// [awaitUsingDeclarationsInForOf.3.ts]
|
|
async function main() {
|
|
for (await using {} of []) {
|
|
}
|
|
}
|
|
|
|
|
|
//// [awaitUsingDeclarationsInForOf.3.js]
|
|
"use strict";
|
|
async function main() {
|
|
for (await using {} of []) {
|
|
}
|
|
}
|