diff options
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 + } + } + +} |