diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-11-17 17:31:15 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-11-22 20:10:23 +0100 |
commit | 265ac7ac52a920bba0e7c101103d8cbe7d65d18c (patch) | |
tree | a19b062c0ad70eed13997916f19a0e1daee5f88e /tests/disabled/java-interop/failing/t1459/App.scala | |
parent | 4b71995f9cfe1e16ec2e3343a3bce601158a84e3 (diff) | |
download | dotty-265ac7ac52a920bba0e7c101103d8cbe7d65d18c.tar.gz dotty-265ac7ac52a920bba0e7c101103d8cbe7d65d18c.tar.bz2 dotty-265ac7ac52a920bba0e7c101103d8cbe7d65d18c.zip |
Moving java tests to pos
Diffstat (limited to 'tests/disabled/java-interop/failing/t1459/App.scala')
-rwxr-xr-x | tests/disabled/java-interop/failing/t1459/App.scala | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/disabled/java-interop/failing/t1459/App.scala b/tests/disabled/java-interop/failing/t1459/App.scala new file mode 100755 index 000000000..36e5022e9 --- /dev/null +++ b/tests/disabled/java-interop/failing/t1459/App.scala @@ -0,0 +1,18 @@ +package foo +import base._ + +object App extends scala.App { + class Concrete extends AbstractBase { + override def doStuff(params:java.lang.String*): Unit = println("doStuff invoked") + } + + val impl = new Concrete + + //succeeds + impl.doStuff(null) + + val caller = new Caller + + // fails with AbstractMethodError + caller.callDoStuff(impl) +} |