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








                                    
object test {
   class annot extends Annotation

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