summaryrefslogtreecommitdiff
path: root/test/pending/neg/t0625.scala
diff options
context:
space:
mode:
authorNAME <USER@epfl.ch>2008-03-12 11:37:25 +0000
committerNAME <USER@epfl.ch>2008-03-12 11:37:25 +0000
commitdeab63a2db266412590471834459cc5fa17934e5 (patch)
treeb3174418273786fecb655121f997a84ec0d0b6d4 /test/pending/neg/t0625.scala
parent3e72397413820742743ff92137aee5164c142155 (diff)
downloadscala-deab63a2db266412590471834459cc5fa17934e5.tar.gz
scala-deab63a2db266412590471834459cc5fa17934e5.tar.bz2
scala-deab63a2db266412590471834459cc5fa17934e5.zip
Pending test for #625
Diffstat (limited to 'test/pending/neg/t0625.scala')
-rw-r--r--test/pending/neg/t0625.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pending/neg/t0625.scala b/test/pending/neg/t0625.scala
new file mode 100644
index 0000000000..a44a04fd97
--- /dev/null
+++ b/test/pending/neg/t0625.scala
@@ -0,0 +1,4 @@
+object Test {
+ def idMap[C[_],T](m: { def map[U](f: T => U): C[U] }): C[T] = m.map(t => t)
+ idMap(Some(0))
+}