OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 class A extends Missing {} | 5 class A extends Missing {} |
6 class B implements Missing {} | 6 class B implements Missing {} |
7 class C = Object with Missing; | 7 class C = Object with Missing; |
8 | 8 |
9 class D { | 9 class D { |
10 factory D() = Missing; | 10 factory D() = Missing; |
11 } | 11 } |
12 | 12 |
13 void main() { | 13 void main() { |
14 new A(); | 14 new A(); |
15 new B(); | 15 new B(); |
16 new C(); | 16 new C(); |
17 new D(); | 17 new D(); |
18 } | 18 } |
OLD | NEW |