Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: tests/language/gc_test.dart

Issue 3008573002: Migrate test block 113 to Dart 2.0. (Closed)
Patch Set: Merge fixups Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language/gc_test.dart
diff --git a/tests/language/gc_test.dart b/tests/language/gc_test.dart
deleted file mode 100644
index 33e488c0106c50f13b2e8ced462b50cf41a58a66..0000000000000000000000000000000000000000
--- a/tests/language/gc_test.dart
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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.
-// Testing GC, issue 1469.
-
-main() {
- var div;
- for (int i = 0; i < 200; ++i) {
- List l = new List(1000000);
- var m = 2;
- div = (_) {
- var b = l; // Was causing OutOfMemory.
- };
- var lSmall = new List(3);
- // Circular reference between new and old gen objects.
- lSmall[0] = l;
- l[0] = lSmall;
- }
-}
« no previous file with comments | « tests/language/function_type_this_parameter_test.dart ('k') | tests/language/generalized_void_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698