blob: 782e17757607519c83ae28ae508441997b2528b4 [file] [log] [blame]
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart = 2.7
import 'lib1.dart' deferred as lib1;
import 'lib2.dart' deferred as lib2;
// lib1.C1 and lib2.C2 has a shared base class. It will go in its own hunk.
/*member: main:member_unit=main{}*/
void main() {
lib1.loadLibrary().then(/*closure_unit=main{}*/ (_) {
new lib1.C1();
lib2.loadLibrary().then(/*closure_unit=main{}*/ (_) {
new lib2.C2();
});
});
}