2012-11-01 10:48:36 +01:00
|
|
|
/**
|
2020-12-30 17:20:54 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2013-07-01 16:36:08 -07:00
|
|
|
* @bug 7153951
|
2012-11-01 10:48:36 +01: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;
|
|
|
|
}
|