Index: tests/language/src/OverrideFieldMethod4NegativeTest.dart |
diff --git a/tests/language/src/OverrideFieldMethod4NegativeTest.dart b/tests/language/src/OverrideFieldMethod4NegativeTest.dart |
deleted file mode 100644 |
index 56030bc8f6aeadfd201476514f5bf8dd2017c5df..0000000000000000000000000000000000000000 |
--- a/tests/language/src/OverrideFieldMethod4NegativeTest.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 method with field. |
- |
-class A { |
- foo() { } |
-} |
- |
-class B extends A { |
- var foo; // Field cannot override method. |
-} |
- |
-class OverrideFieldMethod4NegativeTest { |
- static testMain() { |
- print(new B().foo); |
- } |
-} |
- |
-main() { |
- OverrideFieldMethod4NegativeTest.testMain(); |
-} |