Index: test/codegen/fieldtest.dart |
diff --git a/test/codegen/fieldtest.dart b/test/codegen/fieldtest.dart |
index a6d2b1fb5a1c67a65f2185222508876699a83e4c..b9cebe7ffb18c8772b6a7158669a21e8fcba8d90 100644 |
--- a/test/codegen/fieldtest.dart |
+++ b/test/codegen/fieldtest.dart |
@@ -35,6 +35,16 @@ void set z(value) { |
y = value; |
} |
+// Supported: use field to implement a getter |
+abstract class BaseWithGetter { |
+ int get foo => 1; |
+ int get bar; |
+} |
+class Derived extends BaseWithGetter { |
+ int foo = 2; |
+ int bar = 3; |
+} |
+ |
void main() { |
var a = new A(); |
foo(a); |