Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
|
Johnni Winther
2012/09/26 17:03:58
This is a new file.
| |
| 5 #library('invalid_uri_test'); | 5 // Test export and re-export. |
| 6 | 6 |
| 7 #import('package://lib1.dart'); // Should not contain "//". | 7 library export_test; |
| 8 | |
| 9 import 'export_helper1.dart'; | |
| 10 import 'export_helper1.dart' as lib; | |
| 8 | 11 |
| 9 void main() { | 12 void main() { |
| 13 print(new Exported()); | |
| 14 print(new ReExported()); | |
| 15 print(new lib.Exported()); | |
| 16 print(new lib.ReExported()); | |
| 10 } | 17 } |
| 18 | |
| OLD | NEW |