| Index: tests/compiler/dart2js/dart_backend_test.dart
|
| diff --git a/tests/compiler/dart2js/dart_backend_test.dart b/tests/compiler/dart2js/dart_backend_test.dart
|
| index 026e015f80f506f6634317421efb4d91b9b24f64..b6824c61a242878f149b913c333b1e2751bc814f 100644
|
| --- a/tests/compiler/dart2js/dart_backend_test.dart
|
| +++ b/tests/compiler/dart2js/dart_backend_test.dart
|
| @@ -692,6 +692,22 @@ main() {
|
| continuation: (String result) { Expect.equals(expectedResult, result); });
|
| }
|
|
|
| +testUnresolvedNamedConstructor() {
|
| + var src = '''
|
| +class A {
|
| + A() {}
|
| +}
|
| +
|
| +main() {
|
| + new A();
|
| + new A.named();
|
| +}
|
| +''';
|
| + var expectedResult = "class A{A(){}}main(){new A();new p_Unresolved();}";
|
| + testDart2Dart(src,
|
| + continuation: (String result) { Expect.equals(expectedResult, result); });
|
| +}
|
| +
|
| main() {
|
| testSimpleFileUnparse();
|
| testTopLevelField();
|
| @@ -722,4 +738,5 @@ main() {
|
| testDeclarationTypePlaceholders();
|
| testPlatformLibraryMemberNamesAreFixed();
|
| testConflictsWithCoreLib();
|
| + testUnresolvedNamedConstructor();
|
| }
|
|
|