Index: compiler/javatests/com/google/dart/compiler/resolver/ArrayLiteralNegativeTest.dart |
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ArrayLiteralNegativeTest.dart b/compiler/javatests/com/google/dart/compiler/resolver/ArrayLiteralNegativeTest.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bd2651dd11f596cc849966baa0106c677b73249f |
--- /dev/null |
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ArrayLiteralNegativeTest.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() { |
+ List<int, int> ints = [1]; |
+ } |
+} |