1// Copyright 2019 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5function sleeping_promise() {
6  return new Promise((resolve) => setTimeout(resolve));
7}
8
9export let life;
10
11await sleeping_promise();
12life = -1;
13await sleeping_promise();
14life = (await import('modules-skip-1.mjs')).life();
15