summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-exception/Macros_1.scala
blob: 7bd8415e4fe073a5a9c9660191e1b9d235516c52 (plain) (blame)
1
2
3
4
5
6
7
8
9
import scala.language.experimental.macros
import scala.reflect.macros.BlackboxContext

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