Index: tests/language/src/Prefix8NegativeTest.dart |
diff --git a/tests/language/src/Prefix8NegativeTest.dart b/tests/language/src/Prefix8NegativeTest.dart |
deleted file mode 100644 |
index 93e34779ebade1068824470f1b2a6ca56c2b6b55..0000000000000000000000000000000000000000 |
--- a/tests/language/src/Prefix8NegativeTest.dart |
+++ /dev/null |
@@ -1,18 +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. |
-// |
- |
-// Local variables can shadow class names and hence should result in an |
-// error. |
- |
-class Test { |
- Test.named(int this.fld); |
- int fld; |
-} |
- |
-main() { |
- var Test; |
- var i = new Test.named(10); // This should be an error. |
- Expect.equals(10, i.fld); |
-} |