summaryrefslogtreecommitdiff
path: root/test/files/neg/t8700a.check
blob: ce7945a3fc65a68a01c8a0f6a47545ecc27ad6b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Bar.scala:2: warning: match may not be exhaustive.
It would fail on the following input: B
  def bar1(foo: Foo) = foo match {
                       ^
Bar.scala:6: warning: match may not be exhaustive.
It would fail on the following input: B
  def bar2(foo: Baz) = foo match {
                       ^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found