aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t6562.scala
blob: 600234a297ea5834f89323bc7c6b76d003206f2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class Test {

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

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