| /* |
| * Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| * 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. |
| */ |
| /** |
| * @assertion An abstract method (respectively, abstract getter or abstract setter) |
| * is an instance method, getter or setter that is not declared external and does not |
| * provide an implementation. |
| * @description Checks that instance method, getter or setter can be declared without |
| * providing an implementation. |
| * @static-warning |
| * @author kaigorodov |
| * @reviewer rodionov |
| */ |
| |
| class C { /// static type warning Abstract Instance Members: It is a static warning if an abstract member is declared or inherited in a concrete class. |
| void m(); |
| int get g; |
| set g(int v); |
| } |
| |
| main() { |
| C c=new C(); |
| } |