2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-08-13 00:31:31 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4901275 4989669
|
|
|
|
* @summary JSR175 (7): implement <at>Overrides
|
|
|
|
* @author gafter
|
|
|
|
*
|
2014-08-13 00:31:31 +00:00
|
|
|
* @compile/fail/ref=OverrideNo.out -XDrawDiagnostics OverrideNo.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
package overrideNo;
|
|
|
|
|
|
|
|
abstract class A {
|
|
|
|
}
|
|
|
|
|
|
|
|
class B extends A {
|
|
|
|
@Override void f() {}
|
|
|
|
}
|