summaryrefslogtreecommitdiffstats
path: root/t/t4018/java-sealed-permits
diff options
context:
space:
mode:
Diffstat (limited to 't/t4018/java-sealed-permits')
-rw-r--r--t/t4018/java-sealed-permits6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t4018/java-sealed-permits b/t/t4018/java-sealed-permits
new file mode 100644
index 0000000..18dd489
--- /dev/null
+++ b/t/t4018/java-sealed-permits
@@ -0,0 +1,6 @@
+public abstract sealed class RIGHT permits PermittedA, PermittedB {
+ static int ONE;
+ static int TWO;
+ static int THREE;
+ private int ChangeMe;
+}