We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 976a1d7 + c061e66 commit 9ef74daCopy full SHA for 9ef74da
test/SILGen/cf_curried_init.swift
@@ -0,0 +1,11 @@
1
+// RUN: %target-swift-emit-silgen %s | %FileCheck %s
2
+
3
+// REQUIRES: objc_interop
4
5
+import Foundation
6
+import CoreGraphics
7
8
+let _: (CFURL) -> CGDataProvider? = CGDataProvider.init
9
10
+// CHECK-LABEL: sil private [ossa] @$s15cf_curried_initSo17CGDataProviderRefaSgSo8CFURLRefacfu_ : $@convention(thin) (@guaranteed CFURL) -> @owned Optional<CGDataProvider>
11
+// CHECK-LABEL: sil [available 10.0] [clang CGDataProvider.init] @CGDataProviderCreateWithURL : $@convention(c) (CFURL) -> @owned Optional<CGDataProvider>
0 commit comments