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// 5// Flags: --harmony-top-level-await --harmony-dynamic-import 6 7import * as m1 from 'modules-skip-1-top-level-await-cycle.mjs' 8import * as m2 from 'modules-skip-2-top-level-await-cycle.mjs' 9import * as m3 from 'modules-skip-3-top-level-await-cycle.mjs' 10 11assertSame(m1.m1.m.m.life, m1.m2.m.m.life); 12assertSame(m1.m1.m.m.life, m2.m.m.life); 13assertSame(m1.m1.m.m.life, m3.m.m.life); 14 15let m4 = await import('modules-skip-1.mjs'); 16assertSame(m1.m1.m.m.life, m4.life); 17