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

Unified Diff: tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart

Issue 2471543004: Fix compiler crash when we declare several (global) variables, but only define some of them. (Closed)
Patch Set: Siggi's comments Created 4 years, 1 month 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
« no previous file with comments | « tests/compiler/dart2js/constant_expression_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart
diff --git a/runtime/tests/vm/dart/hello_fuchsia_test.dart b/tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart
similarity index 81%
copy from runtime/tests/vm/dart/hello_fuchsia_test.dart
copy to tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart
index 501ffe759fecb0e616b46588a6148b28963ac47a..f118b61aef8e7b7e358a0cb96c0dcd371240858e 100644
--- a/runtime/tests/vm/dart/hello_fuchsia_test.dart
+++ b/tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart
@@ -2,6 +2,5 @@
// 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.
-main() {
- print("Hello, Fuchsia!");
-}
+var y, w, z, x = [], q, r = [];
+main() => [x, r];
« no previous file with comments | « tests/compiler/dart2js/constant_expression_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698