diff options
Diffstat (limited to 'test/files/pos/t1459/App.scala')
-rwxr-xr-x | test/files/pos/t1459/App.scala | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/files/pos/t1459/App.scala b/test/files/pos/t1459/App.scala new file mode 100755 index 0000000000..651b285b17 --- /dev/null +++ b/test/files/pos/t1459/App.scala @@ -0,0 +1,18 @@ +package foo +import base._ + +object App extends Application { + 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) +} |