summaryrefslogtreecommitdiffstats
path: root/t/t4018/java-sealed-type-parameters-permits
blob: 25a0da6442e83aac7c25407f52822263db1fccc1 (plain)
1
2
3
4
5
6
public abstract sealed class RIGHT<A, B> permits PermittedA, PermittedB {
    static int ONE;
    static int TWO;
    static int THREE;
    private int ChangeMe;
}