summaryrefslogtreecommitdiff
path: root/test/files/jvm/nest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/nest.scala')
-rw-r--r--test/files/jvm/nest.scala10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/files/jvm/nest.scala b/test/files/jvm/nest.scala
index 71f6064f31..60f3a3155f 100644
--- a/test/files/jvm/nest.scala
+++ b/test/files/jvm/nest.scala
@@ -14,11 +14,9 @@ object Test extends Application {
val r = new nest.best.rest;
Console.println(nest.best.rest.test.inc(2))
Console.println(nest.best.rest.x)
-}
-// bug #695
-object ForceParse extends OuterTParams[AnyRef] {
- // Force import of HarderToParse<A>.InnerClass,
- // which has confusing method signature.
- var field: InnerClass = null
+ print("Instantiating public inner class: ")
+ val outer = new nest
+ val inn = new outer.Inn(42)
+ inn.doSomething
}