summaryrefslogblamecommitdiff
path: root/test/files/neg/macro-exception/Macros_1.scala
blob: 3d6109dc9db5f61f1901ee6ccc0ec341fc7647fe (plain) (tree)
1
2
3
4
5
6
7
8
9
                                         
                                            

               
                          



                            
import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Context

object Macros {
  def impl(c: Context) = {
    throw new Exception()
  }
  def exception = macro impl
}