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 // Dart test program for testing assign operators. | 4 // Dart test program for testing assign operators. |
5 | 5 |
6 | 6 |
7 class AssignOpTest { | 7 class AssignOpTest { |
8 AssignOpTest() {} | 8 AssignOpTest() {} |
9 | 9 |
10 static testMain() { | 10 static testMain() { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 static var f; | 86 static var f; |
87 var instf; | 87 var instf; |
88 } | 88 } |
89 main() { | 89 main() { |
90 for (int i = 0; i < 2000; i++) { | 90 for (int i = 0; i < 2000; i++) { |
91 AssignOpTest.testMain(); | 91 AssignOpTest.testMain(); |
92 } | 92 } |
93 } | 93 } |
OLD | NEW |