blob: 7bbb647ade6579202e7f27ac2225e1b665621108 [file] [log] [blame]
// Copyright (c) 2016, 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.
/// @assertion It is a static warning if the specified URI of a deferred import
/// does not refer to a library declaration.
/// @description Checks that it is a compile error if the URI in a
/// deferred import directive refers to a part declaration which is not a
/// library declaration.
/// @author ngl@unipro.ru
library my_lib;
import "invalid_uri_t01_part.dart" deferred as p;
// ^
// [analyzer] unspecified
// [cfe] unspecified
main() {
p.foo = 'abc';
}