Index: pkg/kernel/testcases/input/micro.dart |
diff --git a/pkg/kernel/testcases/input/micro.dart b/pkg/kernel/testcases/input/micro.dart |
deleted file mode 100644 |
index 910f336e440b5df2985cf391dca732cbc6550397..0000000000000000000000000000000000000000 |
--- a/pkg/kernel/testcases/input/micro.dart |
+++ /dev/null |
@@ -1,74 +0,0 @@ |
-staticMethod() { |
- return "sdfg"; |
-} |
- |
-class Foo { |
- instanceMethod() { |
- return 123; |
- } |
-} |
- |
-external bool externalStatic(); |
- |
-abstract class ExternalValue {} |
- |
-abstract class Bar { |
- ExternalValue externalInstanceMethod(); |
-} |
- |
-external Bar createBar(); |
- |
-class Box { |
- var field; |
-} |
- |
-stringArgument(x) {} |
- |
-intArgument(x) {} |
- |
-class FinalBox { |
- final finalField; |
- FinalBox(this.finalField); |
-} |
- |
-class SubFinalBox extends FinalBox { |
- SubFinalBox(value) : super(value); |
-} |
- |
-class DynamicReceiver1 { |
- dynamicallyCalled(x) {} |
-} |
- |
-class DynamicReceiver2 { |
- dynamicallyCalled(x) {} |
-} |
- |
-void makeDynamicCall(receiver) { |
- receiver.dynamicallyCalled("sdfg"); |
-} |
- |
-main() { |
- var x = staticMethod(); |
- var y = new Foo().instanceMethod(); |
- var z = externalStatic(); |
- var w = createBar().externalInstanceMethod(); |
- |
- stringArgument("sdfg"); |
- intArgument(42); |
- |
- var box = new Box(); |
- box.field = "sdfg"; |
- var a = box.field; |
- |
- var finalBox = new FinalBox("dfg"); |
- var b = finalBox.finalField; |
- |
- var subBox = new SubFinalBox("dfg"); |
- var c = subBox.finalField; |
- |
- makeDynamicCall(new DynamicReceiver1()); |
- makeDynamicCall(new DynamicReceiver2()); |
- |
- var list = ["string"]; |
- var d = list[0]; |
-} |