summaryrefslogtreecommitdiff
path: root/test/files/pos/t0851.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2009-11-08 22:30:59 +0000
committerPhilipp Haller <hallerp@gmail.com>2009-11-08 22:30:59 +0000
commit7ae5e07a4bd21acec210c8d684175393f270cfb2 (patch)
treeca42be880a826a0c371fe02c08097ff7cd25200a /test/files/pos/t0851.scala
parent3ec24991df3d8bcf721ad30a806b4ef8b297728c (diff)
downloadscala-7ae5e07a4bd21acec210c8d684175393f270cfb2.tar.gz
scala-7ae5e07a4bd21acec210c8d684175393f270cfb2.tar.bz2
scala-7ae5e07a4bd21acec210c8d684175393f270cfb2.zip
Removed remaining invalid tests.
Diffstat (limited to 'test/files/pos/t0851.scala')
-rw-r--r--test/files/pos/t0851.scala14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/files/pos/t0851.scala b/test/files/pos/t0851.scala
deleted file mode 100644
index fc7109dcd4..0000000000
--- a/test/files/pos/t0851.scala
+++ /dev/null
@@ -1,14 +0,0 @@
-package test
-
-object test1 {
- case class Foo[T,T2](f : (T,T2) => String) extends (((T,T2)) => String){
- def apply(t : T) = (s:T2) => f(t,s)
- def apply(p : (T,T2)) = f(p._1,p._2)
- }
- implicit def g[T](f : (T,String) => String) = Foo(f)
- def main(args : Array[String]) : Unit = {
- val f = (x:Int,s:String) => s + x
- println(f(1))
- ()
- }
-}