summaryrefslogtreecommitdiff
path: root/test/files/neg/t9398.check
blob: f0c464daa1c630d3a29afc770c71779a926ef020 (plain) (blame)
1
2
3
4
5
6
7
match.scala:3: warning: match may not be exhaustive.
It would fail on the following input: CC(B2)
  def test(c: CC): Unit = c match {
                          ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found