| 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 import "package:expect/expect.dart"; |
| 6 |
| 5 class A { | 7 class A { |
| 6 int a; | 8 int a; |
| 7 double d1; | 9 double d1; |
| 8 double d2; | 10 double d2; |
| 9 double d3; | 11 double d3; |
| 10 double d4; | 12 double d4; |
| 11 double d5; | 13 double d5; |
| 12 double d6; | 14 double d6; |
| 13 double d7; | 15 double d7; |
| 14 double d8; | 16 double d8; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 35 static testMain() { | 37 static testMain() { |
| 36 var a = new A(1); | 38 var a = new A(1); |
| 37 A.s = 4; | 39 A.s = 4; |
| 38 Expect.equals(5, a.value()); | 40 Expect.equals(5, a.value()); |
| 39 } | 41 } |
| 40 } | 42 } |
| 41 | 43 |
| 42 main() { | 44 main() { |
| 43 AllocateLargeObject.testMain(); | 45 AllocateLargeObject.testMain(); |
| 44 } | 46 } |
| OLD | NEW |