summaryrefslogtreecommitdiff
path: root/test/files/neg/t6558.scala
blob: bdc441698f1367ba7e378159ab5827a07ba16770 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class AnnotNotFound {
  def foo(a: Any) = ()

  foo {
    // Not yet issued in the context of this file, see SI-6758
    // This error is issued in t6558b.scala
    @inargument
    def foo = 0
    foo
  }

  () => {
    // As per above
    @infunction
    def foo = 0
    ()
  }

  @classs
  class C

  class D[@typeparam T]

  class E(
  	@valueparam x: Any
  )
}