aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/pos/t7987/Test_2.scala
blob: aaa21ec4c2491d991f5d03eb9af8675e859f7603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
class C[T] {
  def foo = 0
}

object Test {
  implicit def AnyToC[T](a: Any): C[T] = new C[T]
  // was: "macro not expanded"
  Macro {
    "".foo
     ()
  }
}