Index: pkg/smoke/test/mirrors_used_test.dart |
diff --git a/pkg/smoke/test/mirrors_used_test.dart b/pkg/smoke/test/mirrors_used_test.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ec3a019c69bd9c7968b978ea0ca1480c84009e22 |
--- /dev/null |
+++ b/pkg/smoke/test/mirrors_used_test.dart |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
+// 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. |
+ |
+library smoke.test.mirrors_test; |
+ |
+import 'package:smoke/mirrors.dart'; |
+import 'package:unittest/unittest.dart'; |
+import 'common.dart' hide main; |
+import 'common.dart' as common show main; |
+ |
+ |
+@MirrorsUsed( |
+ targets: const [A, B, C, D, E, E2, F, F2, G, H], |
+ override: 'smoke.mirrors') |
+import 'dart:mirrors'; |
+ |
+main() { |
+ setUp(useMirrors); |
+ common.main(); |
+} |