diff options
author | Philipp Haller <hallerp@gmail.com> | 2009-06-22 14:43:26 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2009-06-22 14:43:26 +0000 |
commit | 2ebff1417c9cfd39251a6a95a72c17af24b813c1 (patch) | |
tree | bd5f4bc497f0282f555721cec36ce5fa62505d7c /test/pending/run/t2034.scala | |
parent | e1b88d7758c2f042169fe9a85d8f642692176cf7 (diff) | |
download | scala-2ebff1417c9cfd39251a6a95a72c17af24b813c1.tar.gz scala-2ebff1417c9cfd39251a6a95a72c17af24b813c1.tar.bz2 scala-2ebff1417c9cfd39251a6a95a72c17af24b813c1.zip |
Added test for #2034.
Diffstat (limited to 'test/pending/run/t2034.scala')
-rw-r--r-- | test/pending/run/t2034.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/pending/run/t2034.scala b/test/pending/run/t2034.scala new file mode 100644 index 0000000000..ff2a8773de --- /dev/null +++ b/test/pending/run/t2034.scala @@ -0,0 +1,14 @@ +object Test { + + def main(args: Array[String]) { + val fooz = new foo.foo2 + println(fooz) + } + + object foo { + class foo2 { + override def toString = getClass.getSimpleName + } + } + +} |