summaryrefslogtreecommitdiff
path: root/test/files/run/t5423.scala
blob: 9c73ed0bef8e40a1534cf9fc4c8f2eca147d134f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{universe => ru}
import scala.reflect.runtime.{currentMirror => cm}

final class table extends annotation.StaticAnnotation
@table class A

object Test extends App {
  val s = cm.reflectClass(classOf[A]).symbol
  println(s.getAnnotations)
}