Index: tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
index 3eaef51ed75c1e63f95d52edb5b2e513d8f36bd6..a2765bed59fb222d1d6bf83d35a4f50bf2a8f9c3 100644 |
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
@@ -19,7 +19,17 @@ bar(a) => !a; |
class Class { |
var field; |
static var staticField; |
- Class(this.field); |
+ |
+ Class(); |
+ Class.named(this.field); |
+ |
+ method() {} |
+} |
+ |
+class SubClass extends Class { |
+ method() { |
+ super.method(); |
+ } |
} |
main() { |
foo(); |
@@ -27,7 +37,8 @@ main() { |
[]; |
{}; |
new Object(); |
- new Class(''); |
+ new Class.named(''); |
+ new SubClass().method(); |
Class.staticField; |
var x = null; |
var y1 = x == null; |