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 #library('LibraryPrivateInConstructor'); | 5 #library('LibraryPrivateInConstructor'); |
6 #import("LibraryPrivateInConstructorA.dart"); | 6 #import("library_private_in_constructor_a.dart"); |
7 #import("LibraryPrivateInConstructorB.dart"); | 7 #import("library_private_in_constructor_b.dart"); |
8 | 8 |
9 main() { | 9 main() { |
10 var b = new B(); | 10 var b = new B(); |
11 Expect.equals(499, b.x); | 11 Expect.equals(499, b.x); |
12 Expect.equals(42, b.y); | 12 Expect.equals(42, b.y); |
13 } | 13 } |
OLD | NEW |