Index: tests/language/regress_28341_test.dart |
diff --git a/tests/language/regress_28341_test.dart b/tests/language/regress_28341_test.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9fedfa5f8eed47b97dd0fece03283c2e7ed5e5dc |
--- /dev/null |
+++ b/tests/language/regress_28341_test.dart |
@@ -0,0 +1,14 @@ |
+// Copyright (c) 2017, 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. |
+ |
+import "package:expect/expect.dart"; |
+ |
+enum E { |
+ A |
+} |
+ |
+main() { |
+ Expect.isTrue(E.values == const <E>[E.A]); |
+ Expect.isFalse(E.values == const [E.A]); |
+} |