summaryrefslogtreecommitdiff
path: root/test/pending/run/macro-expand-tparams-prefix-e1/Macros_Test_2.scala
blob: d4fc52fca082bb359de22effd34cc0981c940297 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import scala.reflect.runtime.universe._

object Test extends App {
  class D[T: TypeTag] {
    class C[U: TypeTag] {
      def foo[V] = macro Impls.foo[List[T], U, V]
      foo[Boolean]
    }
  }

  val outer1 = new D[Int]
  new outer1.C[String]
}