mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
bed71b7776
Since there were already non-negative tests with the same numbers, I gave them meaningful names. Merged a couple of tests into the same file when it made sense since multitests let us do that. Deleted prefix1_negative_test, because it essentially tested only that a random identifier does not resolve, which is not particularly related to prefixes. Change-Id: I91718f6df5126f123d9a8ea3abbc6898797db2db Reviewed-on: https://dart-review.googlesource.com/52985 Reviewed-by: Sigmund Cherem <sigmund@google.com>
11 lines
499 B
Dart
11 lines
499 B
Dart
// 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.
|
|
import "library10.dart";
|
|
|
|
main() {
|
|
// Library prefixes in the imported libraries should not be visible here.
|
|
new lib11.Library11(1); //# 01: compile-time error
|
|
lib11.Library11.static_func(); //# 02: compile-time error
|
|
lib11.Library11.static_fld; //# 03: compile-time error
|
|
}
|