summaryrefslogblamecommitdiff
path: root/test/files/neg/bug935.scala
blob: 4497e0812e5a446d9398c2ee0596e9035c4d4ae3 (plain) (tree)
1
2
3
4
5
6





                                                          
object Test3 {
  class E[T >: Nothing <: String](s: T) extends Annotation
  class B
  // val a = new E[B](new B)
  @E[B](new B) val b = "hi"
}