1/*
2 * @test /nodynamiccopyright/
3 * @bug 4821359
4 * @summary Add -Xlint flag
5 * @author gafter
6 *
7 * @compile/fail/ref=Deprecation.out -XDrawDiagnostics  -Xlint:deprecation -Werror Deprecation.java
8 */
9
10/** @deprecated */
11class A {
12}
13
14class B extends A {
15}
16