OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // Dart test program for testing compilation of classes with a large number | 5 // Dart test program for testing compilation of classes with a large number |
6 // of fields. | 6 // of fields. |
7 | 7 |
8 import "package:expect/expect.dart"; | 8 import "package:expect/expect.dart"; |
9 | 9 |
10 class A { | 10 class A { |
(...skipping 19997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20008 var a19997; | 20008 var a19997; |
20009 var a19998; | 20009 var a19998; |
20010 var a19999; | 20010 var a19999; |
20011 var a20000; | 20011 var a20000; |
20012 } | 20012 } |
20013 | 20013 |
20014 main() { | 20014 main() { |
20015 var a = new A(); | 20015 var a = new A(); |
20016 a.a20000 = 42; | 20016 a.a20000 = 42; |
20017 Expect.equals(42, a.a20000); | 20017 Expect.equals(42, a.a20000); |
20018 } | 20018 } |
OLD | NEW |