aboutsummaryrefslogblamecommitdiff
path: root/tests/run/inlineAccess/C_1.scala
blob: 349f5b1508dd6208237c62201a994085c78774b1 (plain) (tree)
1
2
3
4
5
6
7






                                                                
package p {
class C {
  protected def f(): Unit = ()

  inline def inl() = f() // error (when inlined): not accessible
}
}