summaryrefslogtreecommitdiff
path: root/test/pending/run
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-01-11 08:45:47 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-01-11 08:45:47 +0000
commit7ceeb1e609598bd89df1c462855625ed266cd154 (patch)
treef0c355814001b0f8aa55ed5a71d32dbdc4580e2a /test/pending/run
parent4c05b14a7162b8c4d4088ec293708eb74f783213 (diff)
downloadscala-7ceeb1e609598bd89df1c462855625ed266cd154.tar.gz
scala-7ceeb1e609598bd89df1c462855625ed266cd154.tar.bz2
scala-7ceeb1e609598bd89df1c462855625ed266cd154.zip
Had to create a test/pending/jvm5 directory.
Moved tests that are failing, but no present fixes into pending.
Diffstat (limited to 'test/pending/run')
-rw-r--r--test/pending/run/classof.check1
-rw-r--r--test/pending/run/classof.scala8
2 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/run/classof.check b/test/pending/run/classof.check
new file mode 100644
index 0000000000..e9a8fd6b76
--- /dev/null
+++ b/test/pending/run/classof.check
@@ -0,0 +1 @@
+SomeClass
diff --git a/test/pending/run/classof.scala b/test/pending/run/classof.scala
new file mode 100644
index 0000000000..b547e5c8c3
--- /dev/null
+++ b/test/pending/run/classof.scala
@@ -0,0 +1,8 @@
+class SomeClass
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ val cls: Class[SomeClass] = classOf[SomeClass]
+ Console.println(cls.getName())
+ }
+}