summaryrefslogtreecommitdiff
path: root/test/pending/run/t2030.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2009-06-16 08:58:17 +0000
committerPhilipp Haller <hallerp@gmail.com>2009-06-16 08:58:17 +0000
commita4bdfdcccb498aeec2511f9230647ec27da6ff41 (patch)
treefab66c989caee7194241b23d00237416b3f1110a /test/pending/run/t2030.scala
parent54093685b80472b8d96f5c1d61e3fb323fb438b4 (diff)
downloadscala-a4bdfdcccb498aeec2511f9230647ec27da6ff41.tar.gz
scala-a4bdfdcccb498aeec2511f9230647ec27da6ff41.tar.bz2
scala-a4bdfdcccb498aeec2511f9230647ec27da6ff41.zip
Added tests for #2027 and #2030.
Diffstat (limited to 'test/pending/run/t2030.scala')
-rw-r--r--test/pending/run/t2030.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/run/t2030.scala b/test/pending/run/t2030.scala
new file mode 100644
index 0000000000..4bf20915fb
--- /dev/null
+++ b/test/pending/run/t2030.scala
@@ -0,0 +1,7 @@
+import scala.collection.immutable._
+
+object Test extends Application {
+ val res0 = TreeSet(1, 2, 3)
+ val res1 = res0.map(x => x)
+ println(res1.getClass)
+}