diff options
author | Martin Odersky <odersky@gmail.com> | 2010-12-14 12:38:01 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-12-14 12:38:01 +0000 |
commit | 45b0c875e74052c79fa8711c5e0f8e5ca4b322ec (patch) | |
tree | aad044b86c3ccfd6577a44bf9e3ea9c8e00f93ca /test/files | |
parent | bda52e41b2a233f8518add205e990afe0111119b (diff) | |
download | scala-45b0c875e74052c79fa8711c5e0f8e5ca4b322ec.tar.gz scala-45b0c875e74052c79fa8711c5e0f8e5ca4b322ec.tar.bz2 scala-45b0c875e74052c79fa8711c5e0f8e5ca4b322ec.zip |
Closes #4024. No review.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t4024.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t4024.scala b/test/files/run/t4024.scala new file mode 100644 index 0000000000..b822a7781c --- /dev/null +++ b/test/files/run/t4024.scala @@ -0,0 +1,9 @@ +object Test extends Application { + + val x = "abc" + + val m = x.getClass.getMethod("toString") + + assert(m.invoke(x, (Nil: List[AnyRef]): _*) == "abc") +} + |