| Index: tests/compiler/dart2js/serialization/test_data.dart
|
| diff --git a/tests/compiler/dart2js/serialization/test_data.dart b/tests/compiler/dart2js/serialization/test_data.dart
|
| index 87a580f03986db710b367a719b9e87c3dc50517f..950a211e68ada27a20222dedf1b0402ffde3f5b2 100644
|
| --- a/tests/compiler/dart2js/serialization/test_data.dart
|
| +++ b/tests/compiler/dart2js/serialization/test_data.dart
|
| @@ -385,6 +385,23 @@ main() {
|
| }
|
| ''',
|
| }, expectedWarningCount: 1),
|
| +
|
| + const Test('Unused noSuchMethod', const {
|
| + 'main.dart': '''
|
| +import 'a.dart';
|
| +
|
| +main() {
|
| + new A().m();
|
| +}
|
| +''',
|
| + }, preserializedSourceFiles: const {
|
| + 'a.dart': '''
|
| +class A {
|
| + noSuchMethod(_) => null;
|
| + m();
|
| +}
|
| +''',
|
| + }),
|
| ];
|
|
|
| class Test {
|
|
|