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