Index: tests/compiler/dart2js/unparser_test.dart |
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart |
index 38b9b516ca900f96d7d47502cbc9097e5c70181d..56864d381061bd08c25d754d5893fb51d575cb9a 100644 |
--- a/tests/compiler/dart2js/unparser_test.dart |
+++ b/tests/compiler/dart2js/unparser_test.dart |
@@ -154,6 +154,8 @@ testGetSet() { |
testDart2Dart('get foo(){return 5;}set foo(arg){}main(){foo; foo=5;}'); |
// Field get/set. |
testDart2Dart('main(){var a=new A(); a.foo; a.foo=5;}class A{set foo(a){}get foo(){return 5;}}'); |
+ // Typed get/set. |
+ testDart2Dart('String get foo(){return "a";}main(){foo;}'); |
} |
main() { |