Files
kotlin-fork/native/native.tests/testData/codegen/kt62262.kt
T
Vladimir Sukharev bd7ffc71aa [K/N][Tests] Migrate test kt62262.kt
^KT-61259
2024-02-20 21:10:33 +00:00

15 lines
482 B
Kotlin
Vendored

// This test is now compile-only for iOS and tvOS.
// It also makes sense also to invoke overridden constructor from box() and check the sanity of resulting object of class ViewController.
// DISABLE_NATIVE: isAppleTarget=false
// DISABLE_NATIVE: targetFamily=OSX
// DISABLE_NATIVE: targetFamily=WATCHOS
import platform.UIKit.UIViewController
class ViewController : UIViewController {
@OverrideInit
constructor() : super(nibName = null, bundle = null)
}
fun box() = "OK"