Index: tests/language/enum_duplicate_lib.dart |
diff --git a/tools/canary.dart b/tests/language/enum_duplicate_lib.dart |
similarity index 64% |
copy from tools/canary.dart |
copy to tests/language/enum_duplicate_lib.dart |
index cca1f90cd7be8eb2481a00a89bbc7ba7edaa6d4f..b9c84f5109af8178afedae4313ab9056c08b263b 100644 |
--- a/tools/canary.dart |
+++ b/tests/language/enum_duplicate_lib.dart |
@@ -2,10 +2,13 @@ |
// 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. |
+library enum_duplicate_lib; |
-import 'dart:io'; |
+enum Enum1 { |
+ A, |
+ B, |
+} |
-void main() { |
- exitCode = 42; |
+class Enum2 { |
+ static Iterable get values => ['Enum2.A', 'Enum2.B']; |
} |