jdk-24/test/langtools/tools/javac/danglingDep/DepX.java

17 lines
253 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* control test (2): verify that compiler handles at-deprecated correctly
* @test /nodynamiccopyright/
2007-12-01 00:00:00 +00:00
* @clean X DepX refX
* @compile/ref=DepX.out -XDrawDiagnostics DepX.java RefX.java
2007-12-01 00:00:00 +00:00
*/
class DepX
{
}
/**
* X.
* @deprecated
*/
class X {
}