Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: tests/language/export_cyclic_test.dart

Issue 10990060: Added support for exports and re-exports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed redundant check. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 // Test cyclic export and re-export.
6
7 /**
8 * export_cyclic_test re-exports export_cyclic_helper1 which declares B
9 * export_cyclic_helper1 re-exports export_cyclic_helper2 which declares C
10 * export_cyclic_helper2 re-exports export_cyclic_test which declares A
11 * export_cyclic_helper2 re-exports export_cyclic_helper3 which declares D
12 */
13
14 library export_cyclic_test;
15
16 import 'export_cyclic_helper1.dart';
17 export 'export_cyclic_helper1.dart';
18
19 class A {}
20
21 void main() {
22 print(new A());
23 print(new B());
24 print(new C());
25 print(new D());
26 }
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698