jdk
1/*
2* @test /nodynamiccopyright/
3* @bug 8187487
4* @summary crash with duplicate class name
5* @compile/fail/ref=CrashWithDuplicateClassNamesTest.out -XDrawDiagnostics CrashWithDuplicateClassNamesTest.java
6*/
7
8class CrashWithDuplicateClassNamesTest {9static class C1$C2 {}10
11static class C1 {12static class C2 {}13}14
15static class C3 {16static class C4 {}17}18
19static class C3$C4 {}20}
21