diff options
-rw-r--r-- | test/pending/run/t0727.check | 2 | ||||
-rw-r--r-- | test/pending/run/t0727.scala | 5 | ||||
-rw-r--r-- | test/pending/run/t0732.check | 3 | ||||
-rw-r--r-- | test/pending/run/t0732.scala | 8 |
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") +} |