diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2008-06-11 11:34:30 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2008-06-11 11:34:30 +0000 |
commit | d89ea1c9a5de945ca8f108bee8f174d6dcc2f7e8 (patch) | |
tree | 3e4535430d4096524f8bb1e879a8b0f470f8d681 /test/pending/run/t0005.scala | |
parent | 98596ff0aa4c97dca9264c7c13dd9c889b749ccf (diff) | |
download | scala-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/pending/run/t0005.scala')
-rw-r--r-- | test/pending/run/t0005.scala | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/test/pending/run/t0005.scala b/test/pending/run/t0005.scala deleted file mode 100644 index 9c86e8c559..0000000000 --- a/test/pending/run/t0005.scala +++ /dev/null @@ -1,47 +0,0 @@ -object A1 { - object A2 { - class X { def unapply(v : Int) = Some(v + 1) } - } -} - -object B1 { - object B2 { - val q = new A1.A2.X - } -} - -object Test { - def main(args: Array[String]) { - import B1.B2.q - val res = 5 match { case q(x) => x } - println(res) - } -} - - - -/* -compiler crash: - -object A1 { - object A2 { - class X { def unapply(v : Int) = Some(v + 1) } - } -} - -object B1 { - object B2 { - val q = new A1.A2.X - } -} - -object C { - def main(args: Array[String]) { - //import B1.B2.q - val q = new A1.A2.X - val res = 5 match { case q(x) => x } - println(res) - } -} - -*/ |