| Index: tests/compiler/dart2js/unparser_test.dart
|
| diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
|
| index 81afebae6902a4dfe21b653241592ff293dd1073..218656a8b59fc16b99969b4de696ea7aca8b3305 100644
|
| --- a/tests/compiler/dart2js/unparser_test.dart
|
| +++ b/tests/compiler/dart2js/unparser_test.dart
|
| @@ -142,6 +142,12 @@ testClassWithMethod() {
|
| testDart2Dart('main(){var a=new A(); a.foo();}class A{void foo(){}}');
|
| }
|
|
|
| +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);}');
|
| +}
|
| +
|
| main() {
|
| testGenericTypes();
|
| testForLoop();
|
| @@ -156,5 +162,6 @@ main() {
|
| testSimpleTopLevelClass();
|
| testClassWithSynthesizedConstructor();
|
| testClassWithMethod();
|
| + testVariableDefinitions();
|
| testTopLevelField();
|
| }
|
|
|