Index: compiler/javatests/com/google/dart/compiler/resolver/MapLiteralNegativeTest.dart |
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/MapLiteralNegativeTest.dart b/compiler/javatests/com/google/dart/compiler/resolver/MapLiteralNegativeTest.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..318c988b269e495e1333a33a1013eabee8cfb2ac |
--- /dev/null |
+++ b/compiler/javatests/com/google/dart/compiler/resolver/MapLiteralNegativeTest.dart |
@@ -0,0 +1,9 @@ |
+// 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. |
+ |
+class A { |
+ main() { |
+ Map<String, int, int> map = {'foo':1}; |
+ } |
+} |