| Index: tests/isolate/isolate_create_error_helper_syntax_error.dart
|
| diff --git a/tests/language/regress_18865_test.dart b/tests/isolate/isolate_create_error_helper_syntax_error.dart
|
| similarity index 56%
|
| copy from tests/language/regress_18865_test.dart
|
| copy to tests/isolate/isolate_create_error_helper_syntax_error.dart
|
| index ba64c4c9f51fff6ae2bc2e4f1605a8c0808ef472..bcd886e9fcd623be07abe757fbc0722e58ded47b 100644
|
| --- a/tests/language/regress_18865_test.dart
|
| +++ b/tests/isolate/isolate_create_error_helper_syntax_error.dart
|
| @@ -2,14 +2,11 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// Regression test for issue 18865.
|
| +library isolate.create.error_helper_syntax_error;
|
|
|
| -class B<T> { }
|
| +// This library has a syntax error, and fails to load.
|
|
|
| -class A<T> extends B {
|
| - static foo() => new A();
|
| -}
|
| +public static void main() {
|
| + print("MUST NOT BE PRINTED");
|
| +};
|
|
|
| -main () {
|
| - A.foo();
|
| -}
|
|
|