2020-05-17 15:09:52 +00:00
|
|
|
/**
|
|
|
|
* @test /nodynamiccopyright/
|
2020-10-28 17:18:46 +00:00
|
|
|
* @bug 8242478 8246774
|
2020-05-17 15:09:52 +00:00
|
|
|
* @summary test for local interfaces
|
2022-07-29 17:35:22 +00:00
|
|
|
* @compile/fail/ref=LocalInterface.out -XDrawDiagnostics --release 15 LocalInterface.java
|
2020-10-28 17:18:46 +00:00
|
|
|
* @compile LocalInterface.java
|
2020-05-17 15:09:52 +00:00
|
|
|
*/
|
|
|
|
class LocalInterface {
|
|
|
|
void m() {
|
|
|
|
interface I {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|