| Index: tests/language/syntax_test.dart
|
| diff --git a/tests/language/syntax_test.dart b/tests/language/syntax_test.dart
|
| index 11aee706152c03268fc28a894eafbc29817eb23f..7f7b21bda1008a20c0e71dc69a126d88bd074db9 100644
|
| --- a/tests/language/syntax_test.dart
|
| +++ b/tests/language/syntax_test.dart
|
| @@ -238,6 +238,7 @@ main() {
|
| new SyntaxTest() = 1; /// 64: compile-time error
|
| futureOf(null) = 1; /// 65: compile-time error
|
|
|
| + new C();
|
| } catch (ex) {
|
| // Swallowing exceptions. Any error should be a compile-time error
|
| // which kills the current isolate.
|
| @@ -247,3 +248,9 @@ main() {
|
| class Bad {
|
| factory Bad<Bad(String type) { return null; } /// 63: compile-time error
|
| }
|
| +
|
| +class C {
|
| + void f; /// 66: compile-time error
|
| + static void g; /// 67: compile-time error
|
| +}
|
| +
|
|
|