summaryrefslogtreecommitdiff
path: root/test/files/pos/bug0646.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2008-06-11 11:34:30 +0000
committerIulian Dragos <jaguarul@gmail.com>2008-06-11 11:34:30 +0000
commitd89ea1c9a5de945ca8f108bee8f174d6dcc2f7e8 (patch)
tree3e4535430d4096524f8bb1e879a8b0f470f8d681 /test/files/pos/bug0646.scala
parent98596ff0aa4c97dca9264c7c13dd9c889b749ccf (diff)
downloadscala-d89ea1c9a5de945ca8f108bee8f174d6dcc2f7e8.tar.gz
scala-d89ea1c9a5de945ca8f108bee8f174d6dcc2f7e8.tar.bz2
scala-d89ea1c9a5de945ca8f108bee8f174d6dcc2f7e8.zip
Moved pending tests that succeed to their place...
Moved pending tests that succeed to their place in the 'files' directory.
Diffstat (limited to 'test/files/pos/bug0646.scala')
-rw-r--r--test/files/pos/bug0646.scala21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/files/pos/bug0646.scala b/test/files/pos/bug0646.scala
new file mode 100644
index 0000000000..64214f65b1
--- /dev/null
+++ b/test/files/pos/bug0646.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
+ //}
+
+}