8bde2f4e3d
Co-authored-by: Vicente Romero <vromero@openjdk.org> Co-authored-by: Harold Seigel <hseigel@openjdk.org> Co-authored-by: Chris Hegarty <chegar@openjdk.org> Reviewed-by: jlahoda
14 lines
292 B
Java
14 lines
292 B
Java
/**
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8242478 8246774
|
|
* @summary test for local interfaces
|
|
* @compile/fail/ref=LocalInterface.out -XDrawDiagnostics -source 15 LocalInterface.java
|
|
* @compile LocalInterface.java
|
|
*/
|
|
class LocalInterface {
|
|
void m() {
|
|
interface I {}
|
|
}
|
|
}
|
|
|