blob: feaa5cd2a59cf64b344f53cf6fd408fdfc976d5c [file] [log] [blame]
// Copyright (c) 2018, 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.
// Test instantiations with different type argument count used only in two
// deferred libraries.
/*class: global#Instantiation:OutputUnit(2, {b, c})*/
/*class: global#Instantiation1:OutputUnit(1, {b})*/
/*class: global#Instantiation2:OutputUnit(3, {c})*/
import '../libs/instantiation1_strong_lib1.dart' deferred as b;
import '../libs/instantiation1_strong_lib2.dart' deferred as c;
/*element: main:OutputUnit(main, {})*/
main() async {
await b.loadLibrary();
await c.loadLibrary();
print(b.m(3));
print(c.m(3, 4));
}