diff options
Diffstat (limited to 'deps/v8/test/mjsunit/harmony/modules-skip-2-top-level-await.mjs')
-rw-r--r-- | deps/v8/test/mjsunit/harmony/modules-skip-2-top-level-await.mjs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/harmony/modules-skip-2-top-level-await.mjs b/deps/v8/test/mjsunit/harmony/modules-skip-2-top-level-await.mjs new file mode 100644 index 0000000000..4aa2f2cdcd --- /dev/null +++ b/deps/v8/test/mjsunit/harmony/modules-skip-2-top-level-await.mjs @@ -0,0 +1,15 @@ +// Copyright 2019 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import * as m1 from 'modules-skip-3.mjs' + +let m2 = import('modules-skip-1-top-level-await.mjs'); +let m2_namespace = await m2; + +export let stringlife = m1.stringlife; + +export function life() { + return m2_namespace.life(); +} + |