summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2008-04-08 08:43:09 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2008-04-08 08:43:09 +0000
commit3884f6e1ce4feff64e816e426d318f9cb10036a8 (patch)
treed53434293864c9179e41eba6b487140af7c3b95d
parentf9e8fbe0af78e66f2180f00e532086e68da6476e (diff)
downloadscala-3884f6e1ce4feff64e816e426d318f9cb10036a8.tar.gz
scala-3884f6e1ce4feff64e816e426d318f9cb10036a8.tar.bz2
scala-3884f6e1ce4feff64e816e426d318f9cb10036a8.zip
pending tests for 727 and 732
-rw-r--r--test/pending/run/t0727.check2
-rw-r--r--test/pending/run/t0727.scala5
-rw-r--r--test/pending/run/t0732.check3
-rw-r--r--test/pending/run/t0732.scala8
4 files changed, 18 insertions, 0 deletions
diff --git a/test/pending/run/t0727.check b/test/pending/run/t0727.check
new file mode 100644
index 0000000000..bb101b641b
--- /dev/null
+++ b/test/pending/run/t0727.check
@@ -0,0 +1,2 @@
+true
+true
diff --git a/test/pending/run/t0727.scala b/test/pending/run/t0727.scala
new file mode 100644
index 0000000000..9f5be7c108
--- /dev/null
+++ b/test/pending/run/t0727.scala
@@ -0,0 +1,5 @@
+object t0727 extends Application {
+ val arr = Array("foo")
+ println(arr.isInstanceOf[Array[String]])
+ println(Array("foo").isInstanceOf[Array[String]])
+}
diff --git a/test/pending/run/t0732.check b/test/pending/run/t0732.check
new file mode 100644
index 0000000000..e4ec30754a
--- /dev/null
+++ b/test/pending/run/t0732.check
@@ -0,0 +1,3 @@
+c
+
+c
diff --git a/test/pending/run/t0732.scala b/test/pending/run/t0732.scala
new file mode 100644
index 0000000000..24fdba0017
--- /dev/null
+++ b/test/pending/run/t0732.scala
@@ -0,0 +1,8 @@
+object t0732 extends Application {
+ val x1 = <a b="c" />
+ println(x1 \ "@b")
+ val x2 = <a x:b="c" xmlns:x="uri" />
+ println(x2 \ "@b")
+ val x3 = <a x:b="c" xmlns:x="uri" />
+ println(x3 \ "@x:b")
+}