2012-11-01 09:48:36 +00:00
|
|
|
/**
|
2020-12-30 17:20:54 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2013-07-01 23:36:08 +00:00
|
|
|
* @bug 7153951
|
2012-11-01 09:48:36 +00:00
|
|
|
* @clean ClassUsingAuxiliary ClassWithAuxiliary AuxiliaryClass ClassWithAuxiliary$NotAnAuxiliaryClass ClassWithAuxiliary$NotAnAuxiliaryClassEither
|
|
|
|
* @run compile ClassUsingAuxiliary.java ClassWithAuxiliary.java
|
|
|
|
* @run compile/fail/ref=ClassUsingAuxiliary1.out -XDrawDiagnostics -Werror -Xlint:auxiliaryclass ClassUsingAuxiliary.java ClassWithAuxiliary.java
|
|
|
|
* @run compile/fail/ref=ClassUsingAuxiliary2.out -XDrawDiagnostics -Werror -Xlint:auxiliaryclass ClassUsingAuxiliary.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
class ClassUsingAuxiliary {
|
|
|
|
AuxiliaryClass ahem;
|
|
|
|
}
|