summaryrefslogtreecommitdiff
path: root/test/files/pos/compound.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-09-02 17:27:57 +0000
committerMartin Odersky <odersky@gmail.com>2003-09-02 17:27:57 +0000
commitd8a3d0acaa3ff4bae5a20ff64d265754e7c1fbe5 (patch)
treeb22dd299335625f6970d2374dda2001e66cc755e /test/files/pos/compound.scala
parentdd1ebac2aae5844ba01dbe2aab6e7fd67e19c15a (diff)
downloadscala-d8a3d0acaa3ff4bae5a20ff64d265754e7c1fbe5.tar.gz
scala-d8a3d0acaa3ff4bae5a20ff64d265754e7c1fbe5.tar.bz2
scala-d8a3d0acaa3ff4bae5a20ff64d265754e7c1fbe5.zip
*** empty log message ***
Diffstat (limited to 'test/files/pos/compound.scala')
-rw-r--r--test/files/pos/compound.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/compound.scala b/test/files/pos/compound.scala
new file mode 100644
index 0000000000..60890f9102
--- /dev/null
+++ b/test/files/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;
+}