summaryrefslogblamecommitdiff
path: root/test/files/pos/annot-inner.scala
blob: 9f155a5a834c0b8e9f07e958167e93cfd11ce889 (plain) (tree)
1
2
3
4
5
6
7
8
9
             
                                                  






                                    
object test {
   class annot extends scala.annotation.Annotation

   def foo {
     @annot def bar(i: Int): Int = i
     @annot class Silly { }
     bar(5)
   }
}