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

Side by Side Diff: test/codegen/language/export_cyclic_test.dart

Issue 1263583005: implement exports, fixes #141 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase Created 5 years, 4 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
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