Index: test/codegen/fieldtest.dart |
diff --git a/test/codegen/fieldtest.dart b/test/codegen/fieldtest.dart |
index 72df12e38cb7f988f9036b31ba6d5ff290323ed1..77ceff397076db069ca062a503f568b4bc189445 100644 |
--- a/test/codegen/fieldtest.dart |
+++ b/test/codegen/fieldtest.dart |
@@ -51,6 +51,19 @@ class Generic<T> { |
static String bar = 'hello'; |
} |
+class StaticFieldOrder1 { |
+ static const a = b + 1; |
+ static const c = d + 2; |
+ static const b = c + 3; |
+ static const d = 4; |
+} |
+class StaticFieldOrder2 { |
+ static const a = StaticFieldOrder2.b + 1; |
+ static const c = StaticFieldOrder2.d + 2; |
+ static const b = StaticFieldOrder2.c + 3; |
+ static const d = 4; |
+} |
+ |
void main() { |
var a = new A(); |
foo(a); |