Index: tests/language/deferred_shared_and_unshared_classes_lib_shared.dart |
diff --git a/tools/canary.dart b/tests/language/deferred_shared_and_unshared_classes_lib_shared.dart |
similarity index 66% |
copy from tools/canary.dart |
copy to tests/language/deferred_shared_and_unshared_classes_lib_shared.dart |
index cca1f90cd7be8eb2481a00a89bbc7ba7edaa6d4f..52ddf46ebb46c7ff6454848e3a291e0b36ce2b43 100644 |
--- a/tools/canary.dart |
+++ b/tests/language/deferred_shared_and_unshared_classes_lib_shared.dart |
@@ -2,10 +2,14 @@ |
// 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. |
-// Script which exits with code 42. |
- |
-import 'dart:io'; |
+class CShared { |
+ toString() => "shared"; |
+} |
-void main() { |
- exitCode = 42; |
+class C1 { |
+ toString() => "C1"; |
} |
+ |
+class C2 { |
+ toString() => "C2"; |
+} |