Index: tests/language/src/MapLiteral2NegativeTest.dart |
diff --git a/tests/language/src/MapLiteral2NegativeTest.dart b/tests/language/src/MapLiteral2NegativeTest.dart |
deleted file mode 100644 |
index 9c8fba6c1b40d4e6aa446182913c336a76131c0e..0000000000000000000000000000000000000000 |
--- a/tests/language/src/MapLiteral2NegativeTest.dart |
+++ /dev/null |
@@ -1,22 +0,0 @@ |
-// Copyright (c) 2011, 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. |
-// VMOptions=--enable_type_checks |
-// |
-// Dart test program const map literals. |
- |
-class MapLiteral2NegativeTest<T> { |
- test() { |
- try { |
- var m = const <T>{"a": 0}; // Type parameter is not allowed with const. |
- } catch (TypeError error) { |
- } |
- } |
-} |
- |
-main() { |
- var t = new MapLiteral2NegativeTest<int>(); |
- t.test(); |
-} |
- |
- |