summaryrefslogtreecommitdiff
path: root/test/files/neg/t3663/main.scala
blob: 29619550cc1407280b16c0e90e750ba8ebf53849 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package test

final class Test extends PackageProtected {
  def bar = foo
}

package another {
  object Main {
    def bug(t: Test) {
      // Can always be replicated.
      println(t.foo)
    }
  }
}