jdk-24/test/langtools/tools/javac/T8187487/CrashWithDuplicateClassNamesTest.java
2018-01-02 16:35:04 -05:00

21 lines
420 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8187487
* @summary crash with duplicate class name
* @compile/fail/ref=CrashWithDuplicateClassNamesTest.out -XDrawDiagnostics CrashWithDuplicateClassNamesTest.java
*/
class CrashWithDuplicateClassNamesTest {
static class C1$C2 {}
static class C1 {
static class C2 {}
}
static class C3 {
static class C4 {}
}
static class C3$C4 {}
}