aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/macro-bundle-abstract.scala
blob: db57d5dc9d7cfceceaf9f065edc3dda675db1d35 (plain) (tree)
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
}