blob: 9989918d0071d621179bbaecf0fad0ca6d6f2617 [file] [log] [blame]
/*
* 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 It is a static warning if an abstract member is declared or
* inherited in a concrete class unless that member overrides a concrete one.
* @description Checks that it is a static warning if an abstract getter is
* inherited in a concrete class.
* @static-warning
* @author kaigorodov
* @reviewer rodionov
*/
abstract class A {
int get foo;
}
class C extends A { /// static type warning
}
main() {
new C();
}