diff options
Diffstat (limited to 'tests/pending/pos/compound.scala')
-rw-r--r-- | tests/pending/pos/compound.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pending/pos/compound.scala b/tests/pending/pos/compound.scala new file mode 100644 index 000000000..60890f910 --- /dev/null +++ b/tests/pending/pos/compound.scala @@ -0,0 +1,9 @@ +abstract class A { type T } + +abstract class B { val xz: Any } + +abstract class Test { + var yy: A with B { type T; val xz: T } = null; + var xx: A with B { type T; val xz: T } = null; + xx = yy; +} |