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

Unified Diff: runtime/vm/heap_test.cc

Issue 10704216: Fix type checking of void type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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: runtime/vm/heap_test.cc
===================================================================
--- runtime/vm/heap_test.cc (revision 9649)
+++ runtime/vm/heap_test.cc (working copy)
@@ -13,7 +13,7 @@
#if defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64)
TEST_CASE(OldGC) {
const char* kScriptChars =
- "void main() {\n"
+ "main() {\n"
" return [1, 2, 3];\n"
"}\n";
FLAG_verbose_gc = true;
@@ -33,7 +33,7 @@
TEST_CASE(LargeSweep) {
const char* kScriptChars =
- "void main() {\n"
+ "main() {\n"
" return new List(8 * 1024 * 1024);\n"
"}\n";
FLAG_verbose_gc = true;

Powered by Google App Engine
This is Rietveld 408576698