Index: tests/language/regress_18535_test.dart |
diff --git a/tests/language/deferred_no_prefix_test.dart b/tests/language/regress_18535_test.dart |
similarity index 61% |
copy from tests/language/deferred_no_prefix_test.dart |
copy to tests/language/regress_18535_test.dart |
index c81b47c34c1f7eaa2781829acd80652176b326be..991a8a8da9c33fd9d058bb44316c694aec71f490 100644 |
--- a/tests/language/deferred_no_prefix_test.dart |
+++ b/tests/language/regress_18535_test.dart |
@@ -2,10 +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. |
-// Loading a deferred library without prefix is not allowed. |
-import "deferred_constraints_lib2.dart" |
- deferred /// 01: compile-time error |
-; |
+// Regression test for issue 18535. |
+ |
+import 'dart:mirrors'; |
+import 'package:collection/collection.dart'; |
void main() { |
-} |
+ print(currentMirrorSystem().libraries); |
+} |