blob: 1af29a8f58e800c16028b1156061bf88ed61890d [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.md file.
# Compile an application that includes a non-existing file
# from package: as a part.
# Make sure the output includes a synthetic library.
# Loading from such a dill is ok too.
type: newworld
worlds:
- entry: main.dart
sources:
main.dart: |
part "package:foo/nonexisting.dart";
expectedLibraryCount: 1
expectedSyntheticLibraryCount: 1
errors: true