summaryrefslogblamecommitdiff
path: root/test/files/neg/t8731.check
blob: d47bd55b452aff1e2ac3d391176614415136555f (plain) (tree)
1
2
3
4
5
6



                                                                          
                 
               
t8731.scala:10: warning: could not emit switch for @switch annotated match
  def g(x: Int) = (x: @annotation.switch) match {
                       ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found