summaryrefslogtreecommitdiff
path: root/test/files/pos/t6562.scala
blob: eec7aa5199f0b2f4c1cf24b304e72b88674bb2d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class Test {

  @inline
  def foo {
    def it = new {}
    (_: Any) => it
  }

  @inline
  private def bar {
    def it = new {}
    (_: Any) => it
  }
}