diff options
Diffstat (limited to 'test/pending/neg/t0625.scala')
-rw-r--r-- | test/pending/neg/t0625.scala | 4 |
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)) +} |