summaryrefslogtreecommitdiff
path: root/test/files/pos/t7987/Test_2.scala
blob: 5896fdb51796c579617c7de08b1d8937e3330c1c (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                                         
     ()                                            
  }
}