8435f0daf2
Reviewed-by: jjg
17 lines
253 B
Java
17 lines
253 B
Java
/*
|
|
* control test (2): verify that compiler handles at-deprecated correctly
|
|
* @test /nodynamiccopyright/
|
|
* @clean X DepX refX
|
|
* @compile/ref=DepX.out -XDrawDiagnostics DepX.java RefX.java
|
|
*/
|
|
class DepX
|
|
{
|
|
}
|
|
|
|
/**
|
|
* X.
|
|
* @deprecated
|
|
*/
|
|
class X {
|
|
}
|