Chromium Code Reviews| Index: tests/standalone/package/packages/package1.dart |
| =================================================================== |
| --- tests/standalone/package/packages/package1.dart (revision 0) |
| +++ tests/standalone/package/packages/package1.dart (revision 0) |
| @@ -0,0 +1,14 @@ |
| +// 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. |
| + |
| +#library("package1"); |
| + |
| +#import('package2.dart', prefix: 'b1'); |
|
kasperl
2012/06/13 12:40:10
bn -> pn?
ngeoffray
2012/06/13 12:55:20
Done.
|
| +#import('package2.dart', prefix: 'b2'); |
| +#import('package:package2.dart', prefix: 'b3'); |
| + |
| +main() { |
| + Expect.identical(b1.x, b2.x); |
| + Expect.identical(b1.x, b3.x); |
| +} |