jdk-24/test/langtools/tools/javac/preview/DeclaredUsingPreviewDeclarations.java

6 lines
132 B
Java
Raw Normal View History

///nodynamiccopyright/
public class DeclaredUsingPreviewDeclarations {
sealed class C {}
non-sealed class C2 extends C {}
}