jdk-24/langtools/test/tools/javac/lint/Deprecation.java
2015-01-27 15:11:57 -08:00

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 {
}