diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/jvm/protectedacc.check | 1 | ||||
-rw-r--r-- | test/files/jvm/protectedacc.scala | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/test/files/jvm/protectedacc.check b/test/files/jvm/protectedacc.check index d36d85fef8..aaac0d613e 100644 --- a/test/files/jvm/protectedacc.check +++ b/test/files/jvm/protectedacc.check @@ -13,4 +13,3 @@ count after: 4 meth1(1) = 2 meth2(1)(1) = 10 100 = 100 -Foo diff --git a/test/files/jvm/protectedacc.scala b/test/files/jvm/protectedacc.scala index 59869c63ae..f5d05e21b4 100644 --- a/test/files/jvm/protectedacc.scala +++ b/test/files/jvm/protectedacc.scala @@ -19,25 +19,9 @@ object Test { (new ji.Inner).m; (new p.b.OuterObj.Inner).m - cloneable.MainClone.run } } -package cloneable { -object MainClone { - trait Foo extends Cloneable { - def copy : Foo = clone.asInstanceOf[Foo] - override def toString = "Foo" - } - def run : Unit = { - val foo = new Foo {} - Console.println(foo.copy) - } -} - -} - - package p { package a { |