diff options
Diffstat (limited to 'tests/neg/inlineAccess/C_1.scala')
-rw-r--r-- | tests/neg/inlineAccess/C_1.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/inlineAccess/C_1.scala b/tests/neg/inlineAccess/C_1.scala index fc24f7666..6db1ea787 100644 --- a/tests/neg/inlineAccess/C_1.scala +++ b/tests/neg/inlineAccess/C_1.scala @@ -2,7 +2,7 @@ package p { class C { protected def f(): Unit = () - @dotty.annotation.inline + @inline def inl() = f() // error (when inlined): not accessible } } |