blob: 061d9d1bd245b036fa829279d0a070677a35d26f [file] [log] [blame]
// Copyright (c) 2019, 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 'shared.dart';
import 'lib2.dart' deferred as l2;
const c2 = const C(2);
const c3 = const C(3);
/*member: m1:
OutputUnit(1, {l1}),
constants=[
ConstructedConstant(C(x=IntConstant(1)))=OutputUnit(main, {}),
ConstructedConstant(C(x=IntConstant(2)))=OutputUnit(1, {l1}),
ConstructedConstant(C(x=IntConstant(3)))=OutputUnit(1, {l1}),
ConstructedConstant(C(x=IntConstant(4)))=OutputUnit(2, {l2})]
*/
m1() async {
print(c2);
print(c3);
await l2.loadLibrary();
l2.m2();
print(l2.c3);
print(l2.c4);
}