blob: 761493ed92d839df11ab16d302d7e6f0adb72c23 [file] [log] [blame]
// Copyright (c) 2012, 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.9
// Packages=none
library package_test;
import 'package:lib1.dart';
import 'package:shared.dart';
void main() {
output = 'main';
// Call an imported lib, which will in turn call some others.
lib1();
// Make sure they were all reached successfully.
if (output != 'main|lib1|lib2|lib3') {
throw new Error("libraries were not reached successfully");
}
}