async function one() { return 1; }
async function main() {
  var sum = 0;
  for (var i = 0; i < 5; i = i + 1) {
    sum = sum + await one();
  }
  return sum;
}
var r = null;
main().then(v => { r = v; });
__drain();
r