Chromium Code Reviews| Index: tests/lib/mirrors/eval_cid_exhaustion_test.dart |
| diff --git a/tests/language/regress_18535_test.dart b/tests/lib/mirrors/eval_cid_exhaustion_test.dart |
| similarity index 63% |
| copy from tests/language/regress_18535_test.dart |
| copy to tests/lib/mirrors/eval_cid_exhaustion_test.dart |
| index 991a8a8da9c33fd9d058bb44316c694aec71f490..1aa58a0a6aeafc5368c79db14ee96253690f76ee 100644 |
| --- a/tests/language/regress_18535_test.dart |
| +++ b/tests/lib/mirrors/eval_cid_exhaustion_test.dart |
| @@ -2,11 +2,11 @@ |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| -// Regression test for issue 18535. |
| - |
| import 'dart:mirrors'; |
| -import 'package:collection/collection.dart'; |
| -void main() { |
| - print(currentMirrorSystem().libraries); |
| +main() { |
| + const classTableSize = 1 << 16; |
|
hausner
2014/07/10 20:17:43
Maybe a comment that this must be in sync with <in
rmacnak
2014/07/10 22:26:21
Moved to a VM internal test.
|
| + for (int i = 1; i < classTableSize; i++) { |
| + reflect(0).eval("3 + 4"); |
| + } |
| } |