diff options
author | Martin Odersky <odersky@gmail.com> | 2009-11-20 13:58:36 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-11-20 13:58:36 +0000 |
commit | 99d8d53c36cb2283df9d42b25273aeba594e82b5 (patch) | |
tree | 8b257a7dcf8e07f8ee1346ecb621f9f2262b95ab /test/files/pos/t1459/App.scala | |
parent | c317201d1f6ff6f9f8548ad805cf6e8ff933e1ca (diff) | |
download | scala-99d8d53c36cb2283df9d42b25273aeba594e82b5.tar.gz scala-99d8d53c36cb2283df9d42b25273aeba594e82b5.tar.bz2 scala-99d8d53c36cb2283df9d42b25273aeba594e82b5.zip |
new test
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) +} |