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