Index: tests/language/src/OverrideFieldMethod1NegativeTest.dart |
diff --git a/tests/language/src/OverrideFieldMethod1NegativeTest.dart b/tests/language/src/OverrideFieldMethod1NegativeTest.dart |
deleted file mode 100644 |
index 3a867d6125b6832df905e8f738e498b4e9e411fd..0000000000000000000000000000000000000000 |
--- a/tests/language/src/OverrideFieldMethod1NegativeTest.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. |
-// Dart test error for overriding field with method. |
- |
-class A { |
- var foo; |
-} |
- |
-class B extends A { |
- foo() {} // method cannot override field. |
-} |
- |
-class OverrideFieldMethod1NegativeTest { |
- static testMain() { |
- new B().foo(); |
- } |
-} |
- |
-main() { |
- OverrideFieldMethod1NegativeTest.testMain(); |
-} |