blob: 6f33da70438708399b63fa9721dbae1cf2b9fc1c [file] [log] [blame]
// RUN: %target-swift-emit-silgen(mock-sdk: %clang-importer-sdk) -import-objc-header %S/Inputs/swift_newtype_result_convention.h -enable-sil-ownership %s | %FileCheck %s
// REQUIRES: objc_interop
import Foundation
@objc class ThingHolder: NSObject {
// CHECK: sil hidden [thunk] @$s{{.*}}5thing{{.*}}To : $@convention(objc_method) (ThingHolder) -> @autoreleased NSThing
@objc let thing: NSThing = NSThing("")
}