diff --git a/kotlin-native/backend.native/tests/compilerChecks/t61.kt b/kotlin-native/backend.native/tests/compilerChecks/t61.kt new file mode 100644 index 00000000000..b6e95e3927e --- /dev/null +++ b/kotlin-native/backend.native/tests/compilerChecks/t61.kt @@ -0,0 +1,9 @@ +/* + * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +// KT-50109 +class Foo { + companion object : platform.darwin.NSObjectMeta() +} \ No newline at end of file diff --git a/kotlin-native/backend.native/tests/compilerChecks/t62.kt b/kotlin-native/backend.native/tests/compilerChecks/t62.kt new file mode 100644 index 00000000000..19529d448e4 --- /dev/null +++ b/kotlin-native/backend.native/tests/compilerChecks/t62.kt @@ -0,0 +1,7 @@ +/* + * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +// KT-50109 +class Foo : platform.darwin.NSObjectMeta() \ No newline at end of file