jdk-24/test/langtools/tools/javac/lint/Deprecation.java
2017-09-12 19:03:39 +02: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 {
}