3789983e89
Reviewed-by: darcy, ihse
18 lines
293 B
Java
18 lines
293 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4901275 4989669
|
|
* @summary JSR175 (7): implement <at>Overrides
|
|
* @author gafter
|
|
*
|
|
* @compile/fail/ref=OverrideNo.out -XDrawDiagnostics OverrideNo.java
|
|
*/
|
|
|
|
package overrideNo;
|
|
|
|
abstract class A {
|
|
}
|
|
|
|
class B extends A {
|
|
@Override void f() {}
|
|
}
|