blob: 94ec5da8f3a47c8745f5fbd30d51e8ddfaff8717 [file] [log] [blame]
/*
* Copyright (c) 2011, 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 compile-time error if the speciļ¬ed URI does not refer to
* a library declaration.
* @description Checks that it is a compile-time error if the URI in an import directive refers to a part declaration which is not a library declaration.
* @compile-error
* @author ilya
*/
library my_lib;
import "1_Imports_A04_t01_part.dart";
main() {
try {
var someVar = 0;
} catch(e) {}
}