| 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 | 5 |
| 6 #library("library12.dart"); | 6 #library("library12.dart"); |
| 7 | 7 |
| 8 #import("library11.dart"); | 8 #import("library11.dart"); |
| 9 class Library12 { | 9 class Library12 { |
| 10 Library12(this.fld); | 10 Library12(this.fld); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 Expect.equals(9, result); | 23 Expect.equals(9, result); |
| 24 result += Library11.static_fld; | 24 result += Library11.static_fld; |
| 25 Expect.equals(10, result); | 25 Expect.equals(10, result); |
| 26 Expect.equals(100, top_level11); | 26 Expect.equals(100, top_level11); |
| 27 Expect.equals(200, top_level_func11()); | 27 Expect.equals(200, top_level_func11()); |
| 28 return 3; | 28 return 3; |
| 29 } | 29 } |
| 30 static var static_fld = 4; | 30 static var static_fld = 4; |
| 31 } | 31 } |
| 32 | 32 |
| 33 interface Library12Interface { |
| 34 Library12 addObjects(Library12 value1, Library12 value2); |
| 35 } |
| 36 |
| 33 final int top_level12 = 10; | 37 final int top_level12 = 10; |
| 34 top_level_func12() { | 38 top_level_func12() { |
| 35 return 20; | 39 return 20; |
| 36 } | 40 } |
| OLD | NEW |