summaryrefslogblamecommitdiff
path: root/test/files/jvm/t676.scala
blob: bcd27e4e2157c9bb3e79250bd01366c32c717b54 (plain) (tree)
1
2
3
4
5
6
7
8




                                                                  
                            

   
object Test {
  def main(args: Array[String]): Unit = {
    import java.lang.annotation.Retention;
    val c = classOf[Retention]
    val r: Retention = c.getAnnotation(c).asInstanceOf[Retention];
    Console.println(r.value)
  }
}