aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features197/java15/PersonaNonGrata.java
blob: fc801536d7b6850f68c9758d02f451e2d3f53b4e (plain)
1
2
// This should not compile because Person is sealed and does not allow PersonaNonGrata as a subclass
public final class PersonaNonGrata extends Person {}