Minor: add test for suppressed error.

This commit is contained in:
Dmitry Petrov
2016-09-13 11:14:21 +03:00
committed by Dmitry Petrov
parent 3fa33b5969
commit c4391ebce5
3 changed files with 27 additions and 0 deletions
@@ -0,0 +1,9 @@
class C {
internal fun bar() {}
}
inline fun C.foo() {
@Suppress("NON_PUBLIC_CALL_FROM_PUBLIC_INLINE")
bar()
}