summaryrefslogtreecommitdiff
path: root/test/pending/pos
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2006-10-12 10:39:47 +0000
committerBurak Emir <emir@epfl.ch>2006-10-12 10:39:47 +0000
commitdcfd04956a7103bf47487af204360d9c0a7814f9 (patch)
tree049bf445a4a13d340dbf300e4a6752496de77933 /test/pending/pos
parentbff6517f57383952c84e10783eb481d3ab5fa5bd (diff)
downloadscala-dcfd04956a7103bf47487af204360d9c0a7814f9.tar.gz
scala-dcfd04956a7103bf47487af204360d9c0a7814f9.tar.bz2
scala-dcfd04956a7103bf47487af204360d9c0a7814f9.zip
pending status for bug646
Diffstat (limited to 'test/pending/pos')
-rw-r--r--test/pending/pos/bug646.scala21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/pending/pos/bug646.scala b/test/pending/pos/bug646.scala
new file mode 100644
index 0000000000..64214f65b1
--- /dev/null
+++ b/test/pending/pos/bug646.scala
@@ -0,0 +1,21 @@
+object xfor {
+
+ import scala.xml.NodeSeq
+
+ val books =
+ <bks>
+ <title>Blabla</title>
+ <title>Blubabla</title>
+ <title>Baaaaaaalabla</title>
+ </bks>;
+
+ new NodeSeq { val theSeq = books.child } match {
+ case t @ <title>Blabla</title> => t
+ }
+
+ //val n: NodeSeq = new NodeSeq { val theSeq = books.child }
+ //n match {
+ // case t @ <title>Blabla</title> => t
+ //}
+
+}