From 2ebff1417c9cfd39251a6a95a72c17af24b813c1 Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Mon, 22 Jun 2009 14:43:26 +0000 Subject: Added test for #2034. --- test/pending/run/t2034.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/pending/run/t2034.scala (limited to 'test/pending/run/t2034.scala') 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 + } + } + +} -- cgit v1.2.3