Skip to content

Commit 3db1b25

Browse files
committed
Another test
1 parent 4f67f29 commit 3db1b25

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/run/i7281.scala

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
trait T {
3+
case class X[A]()
4+
}
5+
6+
object a extends T
7+
object b extends T
8+
9+
val ax = a.X()
10+
val bx = b.X()
11+
12+
@main def Test = assert(ax != bx)

0 commit comments

Comments
 (0)