langtools/test/tools/javac/lint/Deprecation.java
author hseigel
Wed, 02 Mar 2016 23:48:41 +0000
changeset 36397 c487ced7231c
parent 28705 675cb37e74a8
permissions -rw-r--r--
Merge

/*
 * @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 {
}