aboutsummaryrefslogtreecommitdiffstats
path: root/binary-compatibility-validator/test/cases/protected/protectedInOpen.kt
blob: ee6868354ff14be4afc6669efc97345c97760433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

package cases.protected

public open class PublicOpenClass protected constructor() {
    protected val protectedVal = 1
    protected var protectedVar = 2

    protected fun protectedFun() = protectedVal
}