diff options
Diffstat (limited to 'test/files/run/t4283/Test.scala')
-rw-r--r-- | test/files/run/t4283/Test.scala | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/run/t4283/Test.scala b/test/files/run/t4283/Test.scala new file mode 100644 index 0000000000..af72fa62f9 --- /dev/null +++ b/test/files/run/t4283/Test.scala @@ -0,0 +1,16 @@ +object Test { + + def main(args: Array[String]) { + val x = (new test.ScalaBipp).make.get.asInstanceOf[test.ScalaBipp].f() + println(x) + val y = (new test.ScalaBipp).make.get.f() + println(y) + val u = (new test.ScalaBipp).make.get.asInstanceOf[test.ScalaBipp].t + println(u) + val v = (new test.ScalaBipp).make.get.t + println(v) + val sb: test.ScalaBipp = (new test.ScalaBipp).make.get + val z = sb.t + println(z) + } +} |