summaryrefslogtreecommitdiff
path: root/test/files/neg/t3098.check
blob: 5343b128f042056501be69a6d79449a72535169a (plain) (blame)
1
2
3
4
5
6
7
b.scala:3: warning: match may not be exhaustive.
It would fail on the following input: (_ : C)
  def f = (null: T) match {
               ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found