Index: tests/compiler/dart2js/unparser_test.dart |
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart |
index 56864d381061bd08c25d754d5893fb51d575cb9a..3aab4d45f6742f1a75c1eeb92af4c7e42f52cb4c 100644 |
--- a/tests/compiler/dart2js/unparser_test.dart |
+++ b/tests/compiler/dart2js/unparser_test.dart |
@@ -147,6 +147,9 @@ testVariableDefinitions() { |
testDart2Dart('main(){final var x, y; final String s;}'); |
testDart2Dart('foo(f, g){}main(){foo(1, 2);}'); |
testDart2Dart('foo(f(arg)){}main(){foo(main);}'); |
+ // A couple of static/finals inside a class. |
+ testDart2Dart('main(){A.a; A.b;}class A{static final String a="5";' |
+ 'static final String b="4";}'); |
} |
testGetSet() { |