diff options
author | buraq <buraq@epfl.ch> | 2005-06-17 15:43:20 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2005-06-17 15:43:20 +0000 |
commit | a9b4163417d4f7e4dda571ac7f2ce6db7c8c63a0 (patch) | |
tree | 70d92fe9b3b797fc02fe49c2de7ecc906eb7829c /test/files/run/regularpatmat.scala | |
parent | d8f34726bc5147f67ccb1f9f1377d4f503c556ae (diff) | |
download | scala-a9b4163417d4f7e4dda571ac7f2ce6db7c8c63a0.tar.gz scala-a9b4163417d4f7e4dda571ac7f2ce6db7c8c63a0.tar.bz2 scala-a9b4163417d4f7e4dda571ac7f2ce6db7c8c63a0.zip |
well, last bugfix will crash when trying to dup...
well, last bugfix will crash when trying to duplicate righthandsides...
Diffstat (limited to 'test/files/run/regularpatmat.scala')
-rw-r--r-- | test/files/run/regularpatmat.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/regularpatmat.scala b/test/files/run/regularpatmat.scala index f6991cab5c..6395e50f6a 100644 --- a/test/files/run/regularpatmat.scala +++ b/test/files/run/regularpatmat.scala @@ -700,6 +700,18 @@ object testMZ { } } + /* this will crash + def matSymbolCloning = { + 2 match { + case 3 | 4 => + class Foo extends scala.xml.Atom[Int](3) { + def bar = 7; + } + null + } + } + */ + def main:Unit = { Console.println("testMZ - bugs #132 #133b #180 #195 #196 #398 #406 #441"); assertEquals(testFoo( List(Two(),Two(),Two(),Two()) ),"b = Two"); |