3789983e89
Reviewed-by: darcy, ihse
16 lines
257 B
Java
16 lines
257 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4821359
|
|
* @summary Add -Xlint flag
|
|
* @author gafter
|
|
*
|
|
* @compile/fail/ref=Deprecation.out -XDrawDiagnostics -Xlint:deprecation -Werror Deprecation.java
|
|
*/
|
|
|
|
/** @deprecated */
|
|
class A {
|
|
}
|
|
|
|
class B extends A {
|
|
}
|