diff options
Diffstat (limited to 'test/files/run/t3888.scala')
-rw-r--r-- | test/files/run/t3888.scala | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/files/run/t3888.scala b/test/files/run/t3888.scala deleted file mode 100644 index ecdf87e925..0000000000 --- a/test/files/run/t3888.scala +++ /dev/null @@ -1,26 +0,0 @@ -object Test { - - val T1 = new P - private[this] val T2 = T1 - - def m1 = - (1, 2) match { - case T1 => true - case _ => false - } - - def m2 = - (1, 2) match { - case T2 => true - case _ => false - } - - def main(args: Array[String]) = { - assert( m1 ) - assert( m2 ) - } -} - -class P extends Pair(1, 1) { - override def equals(x: Any) = true -}
\ No newline at end of file |