Index: tests/language/src/OverrideFieldMethod2NegativeTest.dart |
diff --git a/tests/language/src/OverrideFieldMethod2NegativeTest.dart b/tests/language/src/OverrideFieldMethod2NegativeTest.dart |
deleted file mode 100644 |
index e88a23bf3a71464e9477e62b7fb266ffd6f6e9b7..0000000000000000000000000000000000000000 |
--- a/tests/language/src/OverrideFieldMethod2NegativeTest.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 getter with method. |
- |
-class A { |
- get foo() { return 123; } |
-} |
- |
-class B extends A { |
- foo() {} // method cannot override getter. |
-} |
- |
-class OverrideFieldMethod2NegativeTest { |
- static testMain() { |
- new B().foo(); |
- } |
-} |
- |
-main() { |
- OverrideFieldMethod2NegativeTest.testMain(); |
-} |