summaryrefslogtreecommitdiff
path: root/test/files/pos/t8497/A_1.scala
blob: 6a76b0ee992f2df822923f9cc7b51f8c8fb653fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package p {
  object Crash {
    def e(s: (String @java.lang.Deprecated)): Unit = ()
    def f(s: (String @nonStatic)): Unit = ()
  }
  object Ok {
    def g(s: (String @nonStatic @static)): Unit = ()
    def h(s: (String @static)): Unit = ()
  }
}

class nonStatic extends scala.annotation.Annotation
class static extends scala.annotation.StaticAnnotation