Index: dart/tests/language/main_not_a_function_test.dart |
diff --git a/dart/tests/try/poi/data/empty_main.dart b/dart/tests/language/main_not_a_function_test.dart |
similarity index 70% |
copy from dart/tests/try/poi/data/empty_main.dart |
copy to dart/tests/language/main_not_a_function_test.dart |
index 591abebadd6fbd4884c6aef8582a9ec641b89b3a..e2eec9643be2666791185c2b3e2939e64894e089 100644 |
--- a/dart/tests/try/poi/data/empty_main.dart |
+++ b/dart/tests/language/main_not_a_function_test.dart |
@@ -2,4 +2,8 @@ |
// 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. |
+/* /// 01: static type warning, runtime error |
main() {} |
+*/ /// 01: continued |
+ |
+var main; /// 01: continued |