Index: pkg/kernel/testcases/input/override.dart |
diff --git a/pkg/kernel/testcases/input/override.dart b/pkg/kernel/testcases/input/override.dart |
deleted file mode 100644 |
index fbecca9fd2602fd2df8b29db948c0202f2b930e3..0000000000000000000000000000000000000000 |
--- a/pkg/kernel/testcases/input/override.dart |
+++ /dev/null |
@@ -1,21 +0,0 @@ |
-class Foo {} |
- |
-class Bar extends Foo {} |
- |
-class Base { |
- Foo method() { |
- return new Foo(); |
- } |
-} |
- |
-class Sub extends Base { |
- Foo method() { |
- return new Bar(); |
- } |
-} |
- |
-main(List<String> args) { |
- var object = args.length == 0 ? new Base() : new Sub(); |
- var a = object.method(); |
- print(a); |
-} |