From 2165cc8f0dd7bf493d4ee2d1616c94832336b1b1 Mon Sep 17 00:00:00 2001 From: Vladimir Ivanov Date: Wed, 2 Jun 2021 11:13:07 +0300 Subject: [PATCH] [Native] Fix test data for testObjCExportNoGeneric (#4424) --- .../tests/objcexport/expectedLazyNoGenerics.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kotlin-native/backend.native/tests/objcexport/expectedLazyNoGenerics.h b/kotlin-native/backend.native/tests/objcexport/expectedLazyNoGenerics.h index 8e1b137ecd7..253c436bf46 100644 --- a/kotlin-native/backend.native/tests/objcexport/expectedLazyNoGenerics.h +++ b/kotlin-native/backend.native/tests/objcexport/expectedLazyNoGenerics.h @@ -529,6 +529,13 @@ __attribute__((swift_name("KDocExport"))) @property int32_t yxxyz __attribute__((swift_name("yxxyz"))); @end; +__attribute__((swift_name("SomeClassWithProperty"))) +@interface KtSomeClassWithProperty : KtBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (readonly) KtSomeClassWithProperty *heavyFormattedKDocFoo __attribute__((swift_name("heavyFormattedKDocFoo"))); +@end; + __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("KdocExportKt"))) @interface KtKdocExportKt : KtBase