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 |
5 // Test export and re-export. | 5 // Test export and re-export. |
6 | 6 |
7 library export_test; | 7 library export_test; |
8 | 8 |
9 import 'export_helper1.dart'; | 9 import 'export_helper1.dart'; |
10 import 'export_helper3.dart' as lib; | 10 import 'export_helper3.dart' as lib; |
11 | 11 |
12 void main() { | 12 void main() { |
13 print(new Exported()); | 13 print(new Exported()); |
14 print(new ReExported()); | 14 print(new ReExported()); |
15 print(new lib.Exported()); | 15 print(new lib.Exported()); |
16 print(new lib.ReExported()); | 16 print(new lib.ReExported()); |
17 } | 17 } |
18 | |
OLD | NEW |