Skip to content

Commit 40a2760

Browse files
committed
Fix #2906: Add test case
1 parent 5bc2663 commit 40a2760

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i2906.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
enum Foo {
2+
case A
3+
private case B
4+
@deprecated("Will be removed") case C
5+
@deprecated("Will be removed") private case D
6+
}

0 commit comments

Comments
 (0)