summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-bundle-abstract.scala
blob: 0afeaafc016aa6872b62802f8d865ee9c7c98f82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Context

abstract class Bundle(c: Context) {
  def deferred: Int
  def impl = ???
}

object Macros {
  def foo = macro Bundle.impl
}