diff options
Diffstat (limited to 'test/files/run')
-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"); |