summaryrefslogtreecommitdiffstats
path: root/t/t4018/java-sealed-permits
blob: 18dd4894cff0d46b8ae0a8bce94359578574c3cc (plain)
1
2
3
4
5
6
public abstract sealed class RIGHT permits PermittedA, PermittedB {
    static int ONE;
    static int TWO;
    static int THREE;
    private int ChangeMe;
}