ada23cde0b
Change-Id: I9f4b67de9435e74378af72d2a0c0fc711c0b0252 Reviewed-on: https://dart-review.googlesource.com/55891 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
18 lines
651 B
Dart
18 lines
651 B
Dart
// 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.
|
|
|
|
import "../libs/deferred_overlapping_lib1.dart" deferred as lib1;
|
|
import "../libs/deferred_overlapping_lib2.dart" deferred as lib2;
|
|
|
|
// lib1.C1 and lib2.C2 has a shared base class. It will go in its own hunk.
|
|
/*element: main:OutputUnit(main, {})*/
|
|
void main() {
|
|
lib1.loadLibrary().then(/*OutputUnit(main, {})*/ (_) {
|
|
new lib1.C1();
|
|
lib2.loadLibrary().then(/*OutputUnit(main, {})*/ (_) {
|
|
new lib2.C2();
|
|
});
|
|
});
|
|
}
|