blob: 5db0093970b917c62c53678ccc871587a6cb3ec5 (
plain) (
tree)
|
|
import scala.tools.nsc.Settings
import scala.tools.partest.ReplTest
object Test extends ReplTest {
def code = """
class Color(val red: Int)
case class Red(r:Int) extends Color(r)
def f(c: Any) = c match { case Red(_) => () }
"""
}
|