diff options
Diffstat (limited to 'tests/pending')
-rw-r--r-- | tests/pending/run/classof.check | 22 | ||||
-rw-r--r-- | tests/pending/run/classof.scala | 32 |
2 files changed, 0 insertions, 54 deletions
diff --git a/tests/pending/run/classof.check b/tests/pending/run/classof.check deleted file mode 100644 index 83e292352..000000000 --- a/tests/pending/run/classof.check +++ /dev/null @@ -1,22 +0,0 @@ -Value types: -void -boolean -byte -short -char -int -long -float -double -Class types -class SomeClass -class scala.collection.immutable.List -class scala.Tuple2 -Arrays: -class [Lscala.runtime.BoxedUnit; -class [I -class [D -class [Lscala.collection.immutable.List; -Functions: -interface scala.Function2 -interface scala.Function1 diff --git a/tests/pending/run/classof.scala b/tests/pending/run/classof.scala deleted file mode 100644 index 257829e97..000000000 --- a/tests/pending/run/classof.scala +++ /dev/null @@ -1,32 +0,0 @@ -class SomeClass - -object Test { - def main(args: Array[String]): Unit = { - val cls: Predef.Class[SomeClass] = classOf[SomeClass] - println("Value types:") - println(classOf[Unit]) - println(classOf[Boolean]) - println(classOf[Byte]) - println(classOf[Short]) - println(classOf[Char]) - println(classOf[Int]) - println(classOf[Long]) - println(classOf[Float]) - println(classOf[Double]) - - println("Class types") - println(classOf[SomeClass]) - println(classOf[List[Array[Float]]]) - println(classOf[(String, Map[Int, String])]) - - println("Arrays:") - println(classOf[Array[Unit]]) - println(classOf[Array[Int]]) - println(classOf[Array[Double]]) - println(classOf[Array[List[String]]]) - - println("Functions:") - println(classOf[(Int, Int) => Unit]) - println(classOf[Int => Boolean]) - } -} |