blob: 537ac310e99adb852c9f547640df63761993df70 [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 setter is
* declared in a concrete class.
* @static-warning
* @author kaigorodov
* @reviewer rodionov
*/
class A {
set foo(int v); /// static type warning
}
main() {
new A();
}