Index: tests/compiler/dart2js/serialization/test_data.dart |
diff --git a/tests/compiler/dart2js/serialization/test_data.dart b/tests/compiler/dart2js/serialization/test_data.dart |
index 9038877f5892e9dac54446ff2ab449b58dce82e6..d4b8434890500326b45983beaef5418739c185a4 100644 |
--- a/tests/compiler/dart2js/serialization/test_data.dart |
+++ b/tests/compiler/dart2js/serialization/test_data.dart |
@@ -762,6 +762,15 @@ var foo; |
'b.dart': ''' |
var foo; |
''',}), |
+ |
+ const Test('html and mirrors', const {}, |
+ preserializedSourceFiles: const { |
+ 'main.dart': ''' |
+import 'dart:html'; |
+import 'dart:mirrors'; |
+main() {} |
+'''}, |
+ expectedWarningCount: 1), |
]; |
class Test { |