a67e9f2d36
Reviewed-by: jjg, mcimadamore
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 {
|
|
}
|