aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/inlineAccess/C_1.scala
blob: 841222cf449c997ee800b294ab68d2c6516870f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
// error not yet recognized (independent of inlining)
package p
private class D
class C {
  inline def inl(): Unit = {
    val d = new D()     // error (when inlined): not accessible
  }
}