OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 interface S { } | 5 interface S { } |
6 interface I { } | 6 interface I { } |
7 interface I extends S; | 7 interface I extends S; |
8 | 8 |
9 class C implements I { } | 9 class C implements I { } |
10 | 10 |
11 main() { | 11 main() { |
12 Expect.equals(true, new C() is S); | 12 Expect.equals(true, new C() is S); |
13 } | 13 } |
OLD | NEW |