1 2 3 4 5 6 7 8
package p { class C { protected def f(): Unit = () @inline def inl() = f() // error (when inlined): not accessible } }