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