aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/annot-inner.scala
blob: fa9691e0b51d5972df3c669713da462211105c32 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                  
object test {
   class annot extends scala.annotation.Annotation

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