summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-tparams-notparams-c/Macros_Test_2.scala
blob: 109e142e52f1158f70ec192608c4f045ebdea5d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class D[T] {
  class C[U] {
    def foo[V] = macro Impls.foo[V]
  }
}

object Test extends App {
  val outer1 = new D[Int]
  val outer2 = new outer1.C[String]
  outer2.foo[Boolean]
}