summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/bug142.check8
-rw-r--r--test/files/jvm/bug142.scala39
2 files changed, 0 insertions, 47 deletions
diff --git a/test/files/jvm/bug142.check b/test/files/jvm/bug142.check
deleted file mode 100644
index 2ecb5b2188..0000000000
--- a/test/files/jvm/bug142.check
+++ /dev/null
@@ -1,8 +0,0 @@
-ok
-ok
-ok
-ok
-ok
-ok
-ok
-ok
diff --git a/test/files/jvm/bug142.scala b/test/files/jvm/bug142.scala
deleted file mode 100644
index 9985ec83bf..0000000000
--- a/test/files/jvm/bug142.scala
+++ /dev/null
@@ -1,39 +0,0 @@
-//############################################################################
-// Bug 142
-//############################################################################
-// $Id$
-
-import System.out.println;
-
-abstract class Foo1 { class Inner; def foo: Inner; foo; }
-abstract class Foo2 { class Inner; def foo: Inner = {println("ok"); null}; }
-abstract class Foo3 { type Inner; def foo: Inner; foo; }
-abstract class Foo4 { type Inner; def foo: Inner = {println("ok"); null.asInstanceOf[Inner]}; }
-
-abstract class Bar1 { type Inner; def foo: Inner = {println("ok"); null.asInstanceOf[Inner]}; }
-abstract class Bar2 { type Inner; def foo: Inner; foo; }
-abstract class Bar3 { class Inner; def foo: Inner = {println("ok"); null}; }
-abstract class Bar4 { class Inner; def foo: Inner; foo; }
-
-object Test1 extends Foo1 with Bar1 {def main(args:Array[String]):Unit=();}
-object Test2 extends Foo2 with Bar2 {def main(args:Array[String]):Unit=();}
-object Test3 extends Foo3 with Bar3 {def main(args:Array[String]):Unit=();}
-object Test4 extends Foo4 with Bar4 {def main(args:Array[String]):Unit=();}
-object Test5 with Foo1 with Bar1 {def main(args:Array[String]):Unit=();}
-object Test6 with Foo2 with Bar2 {def main(args:Array[String]):Unit=();}
-object Test7 with Foo3 with Bar3 {def main(args:Array[String]):Unit=();}
-object Test8 with Foo4 with Bar4 {def main(args:Array[String]):Unit=();}
-
-object Test {
- def main(args:Array[String]): Unit = {
- Test1;
- Test2;
- Test3;
- Test4;
- Test5;
- Test6;
- Test7;
- Test8;
- ()
- }
-}