OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // Dart test program for testing default factories defined across libraries | 5 // Dart test program for testing default factories defined across libraries |
6 | 6 |
7 #library("lib"); | 7 library lib; |
8 #import("default_factory_library_test.dart", prefix:"test"); | 8 import "default_factory_library_test.dart" as test; |
9 | 9 |
10 // References a factory class in another library | 10 // References a factory class in another library |
11 interface A default test.C { | 11 interface A default test.C { |
12 A(); | 12 A(); |
13 int methodA(); | 13 int methodA(); |
14 } | 14 } |
OLD | NEW |