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 class A { | 5 class A { |
6 int a; | 6 int a; |
7 double d1; | 7 double d1; |
8 double d2; | 8 double d2; |
9 double d3; | 9 double d3; |
10 double d4; | 10 double d4; |
(...skipping 24 matching lines...) Expand all Loading... |
35 static testMain() { | 35 static testMain() { |
36 var a = new A(1); | 36 var a = new A(1); |
37 A.s = 4; | 37 A.s = 4; |
38 Expect.equals(5, a.value()); | 38 Expect.equals(5, a.value()); |
39 } | 39 } |
40 } | 40 } |
41 | 41 |
42 main() { | 42 main() { |
43 AllocateLargeObject.testMain(); | 43 AllocateLargeObject.testMain(); |
44 } | 44 } |
OLD | NEW |